Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    64

    Bind Centos: dig: couldn't get address

    on my BIND9.x centos5.x machine i still have some problems
    with configuration of the DNS.

    if i type:
    # dig @ns1.server.net domain.com NS
    dig: couldn't get address for 'ns1.server.net': not found

    The question is do i need to set up a zone fore ns1.server.net?
    cos,i do have one for server.net which looks like this:

    $ttl 86400
    @ IN SOA ns1.server.net. root.localhost. (
    2010041002;
    28800;
    7200;
    604800;
    86400 );
    NS ns1.server.net. ;
    NS ns2.server.net. ;
    MX 10 ns1.server.net. ;
    www A 11.11.11.111
    ns1 A 11.11.11.111
    ns2 A 22.22.22.222
    server.net. A 11.11.11.111
    *.server.net. A 11.11.11.111
    server.net. TXT "v=spf1 a mx ~all"
    ns1.server.net. TXT "v=spf1 a -all"


    the strangest thing is that if i do the same but than on the second server (ns2)
    # dig @ns1.server.net domain.com NS

    it will return info like is should...


    any ideas?

  2. #2
    Join Date
    Nov 2003
    Location
    Kherson, Ukraine
    Posts
    267
    Check your /etc/resolv.conf
    Put follow line if you using own DNS only
    nameserver 127.0.0.1
    Private remote administrator of Linux servers - www.petrov.ks.ua
    Quality hosting - Host-Web-Site.com

Similar Threads

  1. My CentOS 5 Bind Installation Commands - Correct?
    By Tertsi in forum Hosting Security and Technology
    Replies: 10
    Last Post: 12-16-2007, 05:16 AM
  2. 98)Address already in use: make_sock: could not bind to address [::]:443
    By whdev in forum Hosting Security and Technology
    Replies: 5
    Last Post: 08-08-2007, 01:04 AM
  3. HOWTO? Bind an IP address to a folder
    By spitfire in forum Hosting Security and Technology
    Replies: 12
    Last Post: 01-14-2007, 02:11 PM
  4. Couldn't bind ns2.mydomain.com with ip address
    By ferzan in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-31-2004, 02:14 PM
  5. [crit] (98)Address already in use: make_sock: could not bind to port 80
    By blacknight in forum Hosting Security and Technology
    Replies: 7
    Last Post: 08-12-2003, 09:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •