Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: CH Cheah on July 16, 2004, 08:02:15 PM
-
Anyone know how to define custom settings for forwarding certain DNS queries to other DNS servers.
For example when I intend to use a local DNS server for the local domain (the other DNS queries will be forwarded to the Internet directly)
-
Just set the sme box as your dns server.
-
Not good if u are using Active Directory
-
SME box is set as the DNS server but some of the clients need to access another private network which has it's own DNS server. Thus I would like to forward all queries for this private network to their DNS server.
A good example would be WinRoute's (Kerio) custom forwarding option. It allows you to define which DNS server to query based on domain name.
Any ideas ?
-
Found this on the FAQ page. Hope to be of help to anyone else whose in the same boat. Will be trying it out soon.
How do I tell my cache to consult internal DNS servers? Our network has internal servers at IP addresses 10.1.2.5 and 10.1.2.6 providing information about the moon.af.mil and 10.in-addr.arpa domains.
Answer: Put
10.1.2.5
10.1.2.6
into /service/dnscache/root/servers/moon.af.mil and into /service/dnscache/root/servers/10.in-addr.arpa. Make sure that both files are readable by the DNS cache account. Restart dnscache:
svc -t /service/dnscache
dnscache will contact the internal servers for information about moon.af.mil and 10.in-addr.arpa. If the moon.af.mil servers delegate darkside.moon.af.mil to another server, dnscache will contact that server for information about darkside.moon.af.mil.