Re: DNS: Local configuration error

Sachin Garg (sachin@cdacb.ernet.in)
Sat, 8 Mar 1997 02:45:28 +0500 (GMT-5)


> >On Thu, 6 Mar 1997, Lee Kim Yuan wrote:
> >
> >>
> >> The problem is that when I sent mail from root@top.com to kylee@com, there
> >> is an error returned in the SMTP DNS exchange error 554 - MX list for com
> >> points back to solo.com. The error is attached as a text file here.
> >>
> >>
> >
> >Can you send me your DNS hosts file? It is possible that you have used a
> >CNAME record for an MX entry. The MX entry should have an A type record.
> >
> >sachin
> >
I think that I have got it, but I am not very sure.

file: SOLO_COM.DOC

> solo.com
>
> /etc/resolv.conf

> domain com
> nameserver 200.200.200.1
> nameserver 200.200.201.1

<snip>

> /etc/named.boot

> directory /var/named
> primary com named.hosts
> primary 0.0.127.in-addr.arpa named.local
> primary 200.200.200.in-addr.arpa named.200.200.200
> primary 201.200.200.in-addr.arpa named.200.200.201
> cache . root.cache

> /var/named/named.hosts

> ; Addresses for
> ;
> @ IN SOA solo.com. postmaster.com. (
> 19970229 ; serial
> 36000 ; refresh every 10 hours
> 3600 ; retry every 1 hour
> 360000 ; expire after 100 hours
> 36000 ; minimum TTL is 10 hours
> )
>
> ; Define name servers
> ;
> IN NS solo.com.
>
> ; Define localhost
> ;
> localhost IN A 127.0.0.1
>
> ; Set up hosts
> ;
> solo IN A 200.200.200.1
> solo IN A 200.200.201.1
> solo IN MX 5 solo.com.

I guess that the next line is in error. If solo.com. is to be mail
exchanger for all machines in the com domain, you should do something
like:

*.com. IN MX 5 solo.com.

instead of:

> com. IN MX 5 solo.com.
>
> top IN A 200.200.201.100
>
>
>
> /var/named/root.cache
>
> ; servers from the root domain
> ; annonymous ftp ftp://nic.ddn.mil/netinfo/root-servers.txt
> ;
>
> . 99999999 IN NS top.com.
>
> top.com. 99999999 IN A 200.200.201.100

I think that there is a problem also in the other files

file: TOP_COM.DOC
>
> top.com
>
> /etc/resolv.conf
>
> domain .
> nameserver 200.200.201.100
>
>
> /etc/host.conf
>
> order bind, hosts
> multi on
>
>
> /etc/named.boot
>
> directory /var/named
> primary . named.hosts
> primary 0.0.127.in-addr-arpa named.local
> primary 201.200.200.in-addr-arpa named.rev
>
>
> /var/named/named.hosts
>
> ; Addresses for
> ;
> . IN SOA top.com. postmaster.top.com. (
> 19970231 ; serial
> 36000 ; refresh every 10 hours
> 3600 ; retry every 1 hour
> 360000 ; expire after 100 hours
> 36000 ; minimum TTL is 10 hours
> )
>
> ; Define name servers
> ;
> IN NS top.com.
>
>
> ; our root only knows about com and tsg.com domains and our three
> ; in-addr-.arpa domains.
>
> com. 86400 IN NS solo.com.
> tsg.com. 86400 IN NS foreigner.tsg.com.
>
> 200.200.200.in-addr.arpa. 86400 IN NS solo.com.
> 201.200.200.in-addr.arpa. 86400 IN NS solo.com.
> 200.200.200.in-addr.arpa. 86400 IN NS foreigner.tsg.com.
>
> solo.com. 86400 IN A 200.200.200.1
> solo.com. 86400 IN A 200.200.201.1
> foreigner.tsg.com. 86400 IN A 200.200.200.100
>
> top.com. 86400 IN A 200.200.201.100
> top.com. 86400 IN MX 5 top.com.
>

I guess that the next line is wrong or silly? Like what is the meaning of
an MX record for the root?? Pl. elucidate me on this.

> . IN MX 5 top.com.

hoping that this will solve your problem.

sachin

********************************************************************
Sachin Garg Phone: (080) 5584271/143/982
MTS Extn: 410
C-DAC, Fax: (080) 5584893
Ramanshree Plaza,
2/1, Brunton Road,
BANGALORE 560 025 E-mail: sachin@cdacb.ernet.in
*********************************************************************