Q:Problem with zone file - getting wrong site!

Kevin Darcy kcd at daimlerchrysler.com
Thu Aug 19 21:33:00 UTC 2004


simon wrote:

>Hi
>
>I've go a problem since I've allways typed in www.trouble.com to get access
>to a website. It growing more common to type just trouble.com to get access
>to that particular domain but it my case I am then getting the site of the
>nameserver. I am shure somebody would be able to say what to change in the
>zone file to get access to the intended site? Or to change anywhere else in
>the configuration.
>
>This is how the zone file is right now:
>
>$ORIGIN .
>$TTL 86400 ; 1 day
>trouble.com    IN SOA ns1.xxxyyyzzz.com. peter\@xxxyyyzzz.com. (
>                2003122207 ;  serial
>                10800      ; refresh (3 hours)
>                3600       ; retry (1 hour)
>                604800     ; expire (1 week)
>                86400      ; minimum (1 day)
>                     )
>;
>          NS      ns1.xxxyyyzzz.com.
>
>
>          A       80.162.xxx.178
>
            ^^^^^^^^^^^^^^^^^^^^^^^

Change this A record to be the same as the other one. If any other DNS 
records reference the zone-apex name as an A record, however, you'll 
need to create some other name to be associated with this address, and 
have those records reference that name instead.

>
>          NS      fstx1.fasbyty.com.
>          MX      10 mail.xxxyyyzzz.com.
>$ORIGIN trouble.com.
>
>www    A        80.63.xx.126
>
                                                                         
            - Kevin




More information about the bind-users mailing list