DNS name not resolving in BIND

I have a BIND server running for multiple domains.  All of a sudden one of my hosted domains is not resolving, while all others are still working fine.  It is still current with my registrar and all the registrar information is correct.  

When I do an nslookup from my DNS server on that domain, it returns with:

[root@local_dns]# nslookup domain.com
Server: 127.0.0.1
Address: 127.0.0.1#53

*** Can't find domain.com: No answer


I've included my zone files below.............

## This is my domain.com.zone file##
; Zone definition for domain.com
$TTL 43200
 
@      IN         SOA        ns.domain.com. root.domain.com. (
                     2009042401          ; serial
                     4H                          ; refresh
                     1H                          ; retry
                     1W                         ; expire
                      1D )                       ; minimum
 
@                 IN                 NS         ns.domain.com.
@                 IN                 MX         10 spam.domain.com.
domain.com.     IN            TXT        "v=spf1 a mx ptr mx:mail.domain.com ip4:<my_ip_addr> -all"
mail.domain.com.   IN        TXT        "v=spf1 a -all"
 
                A           <ip_address>
ns            A           <ip_address_2>
www     CNAME   domain.com.
mail          A            <ip_address>
spam       A             <ip_address_3>
 
###############################################
 
#######This is the section of my domain definition in named.conf######
 
zone "domain.com" in {
      type master;
      file "domain.com.zone"
      allow-transfer { ip_addr_of_secondary DNS; };
};

Open in new window

bkestingAsked:
Who is Participating?
 
bkestingAuthor Commented:
I replaced:

         A       <ip_address>

with:

@      A      <ip_address>

and now the nslookup of the base of domain.com works.
0
 
bkestingAuthor Commented:
And when I do an nslookup for www.domain.com, I get:

Server: 127.0.0.1
Address: 127.0.0.1#53

www.domain.com       canonical name = domain.com.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.