Sendmail gets DNS error looking up domain

Jim Reid jim at rfc1035.com
Fri Mar 23 09:56:55 UTC 2001


>>>>> "Matthew" == Matthew P Marino <mattm at citystamp.com> writes:

    Matthew> The actual error is "stat=Host unknown (Name server :
    Matthew> cswgraphics.com: host not found)" the zone file for named
    Matthew> looks like ;

    Matthew> cswgraphics.com.  IN NS mortise.cswgraphics.com
    Matthew> cswgraphics.com.  IN MX 10 mortise.cswgraphics.com

Try dot-terminating the hostnames in the NS and MX records. Since you
didn't do that, the name server will append the current domain origin
-- ie cswgraphics.com -- to get a fully qualified domain name:
mortise.cswgraphics.com.cswgraphics.com. Since that hostname doesn't
exist mail breaks. Put fully qualified dot terminated names everywhere
in your zone file.

You should also get another name server for the zone somewhere. The
delegation for your zone lists ns{1,2}.choiceone.net as name servers.
Your should add NS records for these to your zone file, assuming these
two servers do server your zone. It would also be an idea to get an NS
records for mortise.cswgraphics.com added to the com zone. The parent
zone should have the same NS records as the delegated zone does.


More information about the bind-users mailing list