LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to forward unqualified domain names to resolve in other dns server? (https://www.linuxquestions.org/questions/linux-software-2/how-to-forward-unqualified-domain-names-to-resolve-in-other-dns-server-4175472127/)

pavlidis 08-05-2013 01:50 AM

How to forward unqualified domain names to resolve in other dns server?
 
Due to lack of capability of dhcp offered domain name search list in Windows (all of them! Only with scripting or GPO), I thought that maybe that can be done via some trick from the dns server (named).

So, is there any way in the configuration in named.conf that I can trick it, to somehow forward unqualified domain names that do not resolve with local zone, to another dns/zone? I tried normal forward to no avail.

Thanks in advance.

Ser Olmy 08-05-2013 04:56 AM

The forward option (or zone) will do what you're asking.

You can specify a forwarder in the "options" section to have BIND forward all unresolved queries, or you can define a zone of type "forward" to forward requests related to a specific domain to another DNS server.

What you cannot do, is rewrite the query itself or "map" a query for one domain/zone into another.


All times are GMT -5. The time now is 03:41 AM.