Re: Resolving localdomain
- From: floyd@xxxxxxxxxx (Floyd L. Davidson)
- Date: Fri, 29 Dec 2006 10:08:29 -0900
"Morten" <usenet@xxxxxxxxxx> wrote:
Hi,
I have an Exim setup where I wish to forward all mail to
myuser@localdomain, this is done by adding a route and mapping all
users to myuser@localdomain
Exim tries to resolve the domain using DNS, but fails:
calling dnslookup router
dnslookup router called for myuser@localdomain
domain = localdomain
DNS lookup of localdomain (MX) gave HOST_NOT_FOUND
returning DNS_NOMATCH
dnslookup router declined for tagticks@localdomain
"more" is false: skipping remaining routers
no more routers
Any way I can trick my machine into resolving localdomain to 127.0.0.1?
You *do* *not* want it to resolve to 127.0.0.1, which should resolve
only to "localhost".
The right way to get a local loopback is to use another IP address. If
you take a look, you'll find that *any* 127.x.x.x address is going to
be a local loopback, hence any IP address in that range will do what
you need.
Put something like this in /etc/hosts,
127.0.0.2 localdomain
--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@xxxxxxxxxx
.
- References:
- Resolving localdomain
- From: Morten
- Resolving localdomain
- Prev by Date: Re: Resolving localdomain
- Next by Date: Re: Interesting traffic problem
- Previous by thread: Re: Resolving localdomain
- Next by thread: Installing Scientific Linux - Hmmmmm
- Index(es):
Relevant Pages
|