[Dnsmasq-discuss] Serving up 127.0.0.1

Simon Kelley simon at thekelleys.org.uk
Mon Jun 5 10:01:08 BST 2006


Brent Cook wrote:
> Funny storing. I was running dnsmasq on a lab network, and was in the process 
> of copying a file using scp from a test node to our lab server. So, I did:
> 
> scp file server:
> 
> and it copied. When I looked at the server, the file wasn't there. It turned 
> out dnsmasq was serving up 127.0.0.1 for the server name (of course, that's 
> what was in /etc/hosts).
> 
> Anyway, I just thought it was odd to have dnsmasq ever serve a 127/8 address 
> at all - does it allow serving multicast addresses as well? I haven't tried. 
> Should there be some special-case warnings when it starts up when probably 
> illegal addresses are published? I would think so, but what do you think?

Special-casing 127/8 would probably upset all the people who keep 
hundreds of banner-ad servers in their /etc/hosts files as a blocking 
measure.

I think this is a re-hash of a very ancient religious war between the 
people who think that /etc/hosts should have

127.0.0.1  localhost
<routable ip address>  <name of machine>

and those who like

127.0.0.1 locahost <name of machine>


Cheers,

Simon.



> 
>  - Brent
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list