[Dnsmasq-discuss] DNSmasq on a VPS instead of bind

Carl marsepein at gmail.com
Sat Jan 6 00:57:42 GMT 2007


1/5/07, Aaron J Weber <aweber at comcast.net> wrote:

> dnsmasq will read /etc/hosts if you just put your local servers in there (if
> they're static) then that'll work fine.

OK. On a sidenote, is it necessary to put domains "/etc/hosts"
bound to localhost and/or to the IP of the NIC (the WAN address) ?
Like:

127.0.0.1   domain.org  otherdomain.net  localhost localhost.localdomain
88.321.123.321 domain.org www.domain.org mail.domain.org
88.321.123.321 otherdomain.net mail.otherdomain.net

etc. ?

I need to look at the syntax manual of hosts for that, but maybe you know that..

> If you don't want to edit the files (which I found clean-enough to keep,
> IMHO), I think the "server=" syntax allows you to specify other nameservers.

Thanks, also to Carlos, for making my decision to use dnsmasq. I like
how tiny it is.

> To protect yourself from the "RED" interface (Internet) from servicing
> lookups, set "except-interface=eth#"  (where "eth#" is the interface name
> from ifconfig).
>
> Does that help?

Yes, thanks a lot. I might publish some short tutorial on what I did
sometime soon,
so it can be googled and used ;-)

ciao

Crl

P.S. Sorry, the silly gmail interface replied only to Aaron.



More information about the Dnsmasq-discuss mailing list