DNS Configure Problem

Kevin Darcy kcd at daimlerchrysler.com
Mon Jan 27 23:45:38 UTC 2003


Barry Fawthrop wrote:

>Greetings All
>
>having a major problem trying to get DNS to work. Heres my problem
>BTW:  I have just loaded and moved to Redhat 8.0
>
>I have two domains  (domain1, domain2) and one static IP address
>
>when I ping www.google.com I get
>PING www.google.com (216.239.39.101) from 24.73.2xx.xxx : 56(84) bytes 
>of data.
>
>when I ping wew.rdhat.com (invalid host) I get
>PING wew.rdhat.com.domain2 (24.73.2xx.xxx) from 24.73.2xx.xxx : 56(84) 
>bytes of data.
>
>when I ping host3.domain1 (invalid host) I get
>PING host3.domain1.domain2 (24.71.2xx.xxx) from 24.73.2xx.xxx) : 56(84) 
>bytes of data.
>
>Why where is my mistake
>
>my zone files look like this
>
>FOR DOMAIN 1
>$TTL 86400
>@       IN      SOA     domain1. root.domain1. (
>                         8 ; serial
>                         28800 ; refresh
>                         7200 ; retry
>                         604800 ; expire
>                         86400 ; ttl
>                         )
>         IN      NS      ns.domain1.
>
>master  IN      A       24.73.215.62
>ns      IN      A       24.73.215.62
>mail    IN      A       24.73.215.62
>
>smtp    IN      CNAME   master
>pop3    IN      CNAME   master
>www     IN      CNAME   master
>news    IN      CNAME   master
>
>domain1.   IN    MX    10   mail.domain1.
>
>
>FOR DOMAIN 2
>$TTL 86400
>@       IN      SOA     domain2. root.domain2. (
>                         8 ; serial
>                         28800 ; refresh
>                         7200 ; retry
>                         604800 ; expire
>                         86400 ; ttl
>                         )
>         IN      NS      ns.domain2.
>
>master  IN      A       24.73.215.62
>ns      IN      A       24.73.215.62
>mail    IN      A       24.73.215.62
>
>smtp    IN      CNAME   master
>pop3    IN      CNAME   master
>www     IN      CNAME   master
>news    IN      CNAME   master
>
>domain2.   IN    MX    10   mail.domain2.
>
>Please can someone advise me, I'm stuck.
>Thanks in advance
>
Are you showing _all_ of the zone data? It looks an awful lot like you 
have domain2 in your resolver default domain or search path *and* a (not 
shown) wildcard record in the zone...

                                                                        
                                            - Kevin




More information about the bind-users mailing list