Results 1 to 8 of 8

Thread: Bind9 Problems.

  1. #1
    Join Date
    Sep 2013
    Beans
    6

    Bind9 Problems.

    Bind9 is unable to resolve hostnames in my domain [ns.ehb.local] (Host is unreachable).
    Forwarding to other DNS Servers however works fine.

    http://pastebin.com/yGPwDiBi#

    Can you guys please help me?


    Thanks in Advance

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,617
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Bind9 Problems.

    You have a typo in your zone files. You have typed "SAO" rather than "SOA" for the "Statement of Authority" record.

    Been watching Sword Art Online perhaps?

    You can test your nameserver quickly from the command prompt. After you have restarted BIND, enter some queries using the "host" command like this:

    Code:
    host -t soa example.com
    host -t ns example.com
    host -t mx example.com
    host -t a www.example.com
    replacing "example.com" with the name of your domain. A well-configured nameserver should reply to each of the top three requests; whether you have an A record for www.example.com is, of course, optional.

    If for some reason your server is not its own resolver, append "localhost" to each query to force it to use the local nameserver.
    Last edited by SeijiSensei; September 24th, 2013 at 03:11 PM.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Sep 2013
    Beans
    6

    Re: Bind9 Problems.

    Okay thanks for your help. Ill try it out.

  4. #4
    Join Date
    Sep 2013
    Beans
    6

    Re: Bind9 Problems.

    I corrected that part, but still didn't work. Tried MYSQL backend powerdns, and gave the same problems.
    Right now imh checking if the problems are connected to the .local domains, since PowerDNS gave error messages when creating an .local domain.

  5. #5
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bind9 Problems.

    There is also a typo in the TTL lines. This (two spots):
    Code:
    $TLL    604800
    Should be this:
    Code:
    $TTL    604800
    After I fixed that, and also the typo Seiji mentioned, named-checkzone passes:
    Code:
    doug@doug-64:~/config/bind/tempe$ named-checkzone enb.local db.enb.local
    zone enb.local/IN: loaded serial 2
    OK
    doug@doug-64:~/config/bind/tempe$ named-checkzone 234.168.192.in-addr.arpa db.192
    zone 234.168.192.in-addr.arpa/IN: loaded serial 2
    OK
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  6. #6
    Join Date
    Sep 2013
    Beans
    6

    Re: Bind9 Problems.

    well the named-checkzone turned out to be ok
    and the host -t did its work as well (typo's fixed btw).
    However, when pinging the server ns.ehb.local it still says it's an unknown host.

  7. #7
    Join Date
    Sep 2013
    Beans
    6

    Re: Bind9 Problems.

    *bump*

  8. #8
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    1,403
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bind9 Problems.

    Quote Originally Posted by djnightchild2 View Post
    However, when pinging the server ns.ehb.local it still says it's an unknown host.
    Pinging the server from where? Some other computer on your LAN? Is that computer using your server for its DNS? Can the same computer ping the server by IP address?
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

Tags for this Thread

Bookmarks

Posting Permissions

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