Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question resolve.conf - different domain resolution per server


    I've got this configuration on my

    search domain1.local domain2.local
    nameserver only knows domain1.local
    and only knows domain2.local

    If both DNS servers are up, i can't resolve names of domain2.local i allways get this:

    nslookup app1.domain2.local

    ** server can't find app1.domain2.local: NXDOMAIN

    And it never tries second server.

    Anyway to make the resolution try next server when name not found?

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    It only tries the second server if it can't get a response from the first. The first is responding with 'unknown'.

    What you really need is for the DNS that you're contacting to be able to resolve the other domain. This should be as simple as declaring a 'forwarder' in the named.conf file for the server. This would look something like this:

    forwarders {; }
    Linux user #126863 - see

Posting Permissions

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