[PATCH] Re: Explanation of dnsd.conf

Roberto A. Foglietta roberto.foglietta at gmail.com
Mon Sep 11 20:17:58 UTC 2006


Rory Vieira wrote:
> Tito,
> 
> On 9/6/06, Tito <farmatito at tiscali.it> wrote:
> 
>>On Wednesday 6 September 2006 14:35, Rory Vieira wrote:
>>
>>>Hi list,
>>>
>>>Can someone please explain the contents of dnsd.conf?
>>>I currently have
>>>firewall 192.168.0.1
>>>
>>>resolv.conf
>>>nameserver 127.0.0.1
>>>
>>>And from the machine, I do 'ping firewall', and it's perfect.
>>>But 'ping test' also seems to work and resolves to 192.168.0.1 ?!?
>>>Now where did that come from?
>>
>>Maybe /etc/hosts?
> 
> 
> which contains:
> 127.0.0.1 localhost
> 
> Side note:
> I can ping ANYTHING <aka test or testing or whatever I type>
> Everything is resolving back to the only ip in dnsd.conf
> even if I ping the hostname of the machine itself it returns 192.168.0.1
> 

  I did not had time to found the point in which bug was introduced but 
in attachment you will found a patch which fix this BUG and a minor one 
in log + some aesthetic changes.

  Cheers,
-- 
Roberto A. Foglietta
http://roberto.foglietta.name
http://linux.genova.it
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.2.1_dnsd_bugfix.patch
Type: text/x-patch
Size: 2600 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060911/2872d015/attachment-0002.bin 


More information about the busybox mailing list