Results 1 to 2 of 2

Thread: [SOLVED] Bind DNS problem

  1. #1
    Join Date
    Jul 2008
    Beans
    37
    Distro
    Ubuntu 12.04 Precise Pangolin

    [SOLVED] Bind DNS problem

    I'm trying to setup a secondary DNS server for my company's existing Windows 2003 AD domain, but I keep running into problems. Every time i do:
    Code:
    nslookup  <computer>
    it says NXDOMAIN, and when I do:
    Code:
    nslookup  <computer>.mydomain.com
    it says it couldn't find "<computer>.mydomain.com.mydomain.com". So it's putting an extra suffix on the zone and it can't find it (SERVFAIL).

    How do I make it search for <computer>.mydomain.com, and not <computer> or <computer>.mydomain.com.mydomain.com ? I have already checked and doubled checked my 'resolv.conf' so that I know the default search domain is 'mydomain.com'

  2. #2
    Join Date
    Jul 2008
    Beans
    37
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Bind DNS problem

    K I figured out what went wrong. In the how-to I read they told me to declare the zone like so:
    Code:
    zone "example.com"{
    ...
    };
    When really I should have made it look like:
    Code:
    zone "*.example.com" {
    ...
    };
    Stupid syntax error...

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
  •