[conspire] internal rerouting problem
Tony Godshall
tony at of.net
Mon Jan 17 10:25:47 PST 2011
Yes, dnsmasqd is a little weird. It's a little too swiss-army-knife
for some. It does DCHP if you let it, it does DNS caching if you let
it, it does masquerading if you let it, and it lets you add local
hosts to the DNS too.
Unbound is more task specific and thus probably easier to configure if
you just have the one need.
Glad it worked for you.
Best Regards.
On Sun, Jan 16, 2011 at 23:31, Ehud Kaldor <ehud.kaldor at gmail.com> wrote:
> Success!
> ended up using unbound, which I had installed as a local cacher (based on
> Rick M's recommendation). Added the domain as transparent to local-zone,
> added ip as A to local-data, told unbound to listen to interfere 0.0.0.0 and
> added served ip as first dns on router.
> And all that starting investigation on Tony's advice to use dnsmasq.
>
> Thanks!
>
> Ehud
>
> On Jan 16, 2011 6:43 PM, "Ehud Kaldor" <ehud.kaldor at gmail.com> wrote:
>> or maybe i misunderstood. reading further changed my perspective. will
>> update.
>>
>> Ehud
>>
>>
>> On Sun, Jan 16, 2011 at 6:41 PM, Ehud Kaldor <ehud.kaldor at gmail.com>
>> wrote:
>>
>>> reading some dnsmasq explanation, it sounds more of a local dns cache
>>> (like
>>> unbound?), and not something that could serve the entire network. i do
>>> not
>>> want to edit all the computers' hosts file, and even if i do - i will
>>> need
>>> to change it every time i take a laptop outside and back inside, to use
>>> external IP and then internal. i need a DNS function for the entire
>>> network,
>>> and only for this function. did i misunderstand dnsmasq?
>>>
>>> Ehud
>>>
>>>
>>>
>>> On Sun, Jan 16, 2011 at 5:10 PM, Tony Godshall <tony at of.net> wrote:
>>>
>>>>
>>>> Look at dnsmasqd. It's a nice local DHCP server/masq rule/caching DNS.
>>>>
>>>> If all you need is the DNS redirection, you can comment out the DHCP and
>>>> masq in /etc/dnsmasqd.conf (IIRC). And you set up any extra DNS entries
>>>> there as well. It's way easier to deal with than traditional DNS servers
>>>> and the config file has plenty of inline documentation and commented
>>>> examples.
>>>>
>>>> Best Regards.
>>>>
>>>>
>>>> On Sun, Jan 16, 2011 at 14:40, Ehud Kaldor <ehud.kaldor at gmail.com>
>>>> wrote:
>>>>
>>>>> got a not-exactly-linux question, but with the expertise here, it might
>>>>> be worth asking:
>>>>>
>>>>> i am setting up a local wordpress on one of my ubuntus. it is to serve
>>>>> externally. now, the way wordpress works is that you set the address
>>>>> ("www.ehud.example") and it is accessible only by that. so, if i set it
>>>>> to
>>>>> "localhost" or the internal address, it will be accessible only from
>>>>> the
>>>>> local network, and if i set it to www.ehud.example it will be
>>>>> accessible
>>>>> only from the outside, and not locally.
>>>>> so, the only thing i can think of is to set some local redirection
>>>>> internally, to redirect www.ehud.example to the local address.
>>>>>
>>>>> i am not too familiar with how to setup DNS. tried briefly to set bind9
>>>>> on the server and set it as DNS on the router, but it seems a lot of
>>>>> work
>>>>> for such a small task. the d-link dir-655 router i use does not run its
>>>>> own
>>>>> DNS, so cannot use that.
>>>>>
>>>>> any other ideas? is there an external DNS service (like opendns) that
>>>>> allow you to set local redirections as well?
>>>>>
>>>>> thanks,
>>>>> Ehud
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> conspire mailing list
>>>>> conspire at linuxmafia.com
>>>>> http://linuxmafia.com/mailman/listinfo/conspire
>>>>>
>>>>>
>>>>
>>>
>
More information about the conspire
mailing list