[Dnsmasq-discuss] Localhost reverse lookups
gypsy
gypsy@iswest.com
Mon, 09 May 2005 19:21:31 -0700
John Hampton wrote:
>
> gypsy wrote:
>
> <snip>
> > localhost resolves. me.tld resolves. Unless you can explain why
> > localhost.me.tld SHOULD resolve, I stand by "forwarding is not correct
> > behavior" and I believe my configuration to be correct.
>
> localhost.me.tld doesn't resolve because it's not defined. Unless you
> have a line in your dnsmasq.conf like the following:
>
> address=/localhost.me.tld/127.0.0.1
>
> Dnsmasq doesn't know the IP for localhost.me.tld. Your hosts file only
> specifies the host, "localhost". Once you start appending a domain
> name, it makes it an entirely different entity. So, your mail server is
> trying to look up the address of the mail server for localhost.me.tld,
> and since you don't have it specified anywhere, dnsmasq tries to forward
> it. There is nothing special about the me.tld domain that dnsmasq
> should know about. There is no way for dnsmasq to know that
> localhost.me.tld is supposed to actually be the localhost.
Thank you, I think I get it. And even if I perhaps don't get it, the
address=/ line works :)
--
gypsy