1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Bind and dns issue

Discussion in 'Site & Server Administration' started by nura235, Aug 25, 2010.

  1. #1
    Hi,

    I m trying to setup bind/dns settting in centos.

    here what i m getting error.

    nslookup mydomainname.com
    Server:         127.0.0.1
    Address:        127.0.0.1#53
    
    ** server can't find mydomainname.com.mydomainname.com: SERVFAIL
    
    Code (markup):
    and dig mydomainname.com output is:

    ; ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> mydomainname.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 36868
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomainname.com.           IN      A
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Thu Aug 26 08:51:23 2010
    ;; MSG SIZE  rcvd: 37
    
    
    Code (markup):

    Any one can light on this ?
     
    nura235, Aug 25, 2010 IP
  2. mellow-h

    mellow-h Peon

    Messages:
    750
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello,

    It seems your dns zone file has no A entry for it. If you are able to edit the dns zone file, you would need to uncomment the following line:

    and put the IP after a tab of "A" text, similar to the following:

    Good luck.
     
    mellow-h, Aug 25, 2010 IP