Problems forwarding zone to another DNS server.
- by sebastian nielsen
I have a authorative DNS server at 83.248.21.18 which are authorative for the domain "finahemgoteborg.se".
Now my registrar is requiring me to have 2 DNS servers for the domain, so I would now want the machine 85.228.103.141 just forward all incoming queries for "finahemgoteborg.se" to the 83.248.21.18 server.
In the 85.228.103.141 BIND server, I have the following config:
zone "finahemgoteborg.se" in {
type forward;
forwarders {83.248.21.18;};
};
But the problem is that 85.228.103.141 is still responding with "REFUSED" when querying it for example www.finahemgoteborg.se A record.
How can I fix it. I do NOT want to set up a master/slave situation, just one nameserver that forwards to a another.
Edit
The Rest of named.conf:
options {
directory "/var/cache/bind";
version "none";
allow-recursion {"none";};
minimal-responses no;
};
zone "sebn.us.to" in{
type master;
file "/etc/bind/sebn.us.to";
};
zone "ns1sebn.us.to" in{
type master;
file "/etc/bind/sebn.us.to";
};
zone "ns2sebn.us.to" in{
type master;
file "/etc/bind/sebn.us.to";
};
zone "finahemgoteborg.se" in{
type forward;
forwarders {83.248.21.18;};
};