Hi all,
Looking for some assistance with DNS forwarding, if someone would be so kind.
My network has two domains, each with their own DNS servers.
my-domain.co.uk (linux servers) 10.11.1.1 = DNS Server
my-domain.local (Windows servers) 10.11.254.1 = DNS Server
The Active Directory servers are configured to forward any requests for 'my-domain.co.uk' to my linux 10.11.1.1 server.
I would like to configure my linux server to do the same (ie: point requests for 'my-domain.local' resolution to my Active Directory server (10.11.254.1)).
I need some help with this though please.
I have tried adding the following to my /etc/named.conf:
Code:
zone "my-domain.local" {
type slave;
masters { 10.11.254.1; 10.11.254.2; };
};
After restarting the service and trying an 'nslookup' on a host within 'my-domain.local' though, it doesn't seem to work.
Could someone please advise exactly what I need to add to my named.conf in order for this to work?
My existing named.conf:
Code:
options {
directory "/var/named";
version "666";
allow-transfer { key "ns01-ns02.key"; };
allow-query { any; };
allow-recursion { 10.11.1.0/16; 127.0.0.1; };
forwarders { 158.152.1.43; 158.152.1.58; };
pid-file "/var/run/named/named.pid";
};
logging {
channel systemlog {
file "/var/log/named/named.log";
severity debug;
print-time yes;
};
channel audit_log {
file "/var/log/named/security.log";
severity debug;
print-time yes;
};
channel xfer_log {
file "/var/log/named/xfer.log";
severity debug;
print-time yes;
};
category default { systemlog; };
category security { audit_log; systemlog; };
category config { systemlog; };
category xfer-in { xfer_log; };
category xfer-out { xfer_log; };
category notify { audit_log; };
category update { audit_log; };
category queries { audit_log; };
category lame-servers { audit_log; };
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
notify no;
file "pz/127.0.0";
};
zone "my-domain.co.uk" {
type master;
notify no;
file "pz/localdomain";
allow-update { 10.11.1.1; 127.0.0.1; };
};
zone "11.10.in-addr.arpa" {
type master;
notify no;
file "pz/localnet";
allow-update { 10.11.1.1; 127.0.0.1; };
};
zone "my-domain.local" {
type slave;
masters { 10.11.254.1; 10.11.254.2; };
};
Thank you very much for your time.
Elliot