From Newsgroup: comp.protocols.dns.bind
--000000000000859d8905a91d9610
Content-Type: text/plain; charset="UTF-8"
Hi all,
I had a bind 9.16.4 as recursive name server. I want to forward all queries
to a specific dns server out of my net such as 8.8.8.8. While I have a new domain( such as abc.com) I want to forward to a new dns server such as
9.9.9.9.
Here is my named.conf:
options {
listen-on port 53 {192.168.1.1;};
recursion yes;
allow-recursion {any;};
forwarders {
8.8.8.8;
};
};
zone "abc.com" {
type forward;
forwarders {1.1.1.1;};
};
So, in this configuration, the abc.com will be forward to 8.8.8.8 or
1.1.1.1?
Thanks.
--
from:baalchina
--000000000000859d8905a91d9610
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi all,=C2=A0<div><br></div><div>I had a bind 9.16.4 as re= cursive name server. I want to forward all queries to a specific dns server=
out of my net such as 8.8.8.8. While I have a new domain( such as <a href= =3D"
http://abc.com">abc.com</a>) I want to forward to a new dns server such=
as 9.9.9.9.</div><div><br></div><div>Here is my named.conf:</div><div><br>= </div><div><br></div><div>options {<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 listen-o=
n port 53 {192.168.1.1;};<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 recursion yes;<br>= =C2=A0 =C2=A0 =C2=A0 =C2=A0 allow-recursion {any;};<br>=C2=A0 =C2=A0 =C2=A0=
=C2=A0 forwarders {<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 8.8.8.8;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 };<br>};<br><br>zone "<=
a href=3D"
http://abc.com">abc.com</a>" {<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 type forward;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 forwarders {1.1.1.1;};<br>= <br>};<br><br></div><div>So, in this configuration, the <a href=3D"
http://a= bc.com">abc.com</a> will be forward to 8.8.8.8 or 1.1.1.1?</div><div><br></= div><div>Thanks.</div><div><br></div><div><br></div><div><br></div><div><di= v><br></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmai= l=3D"gmail_signature">from:baalchina</div></div></div>
--000000000000859d8905a91d9610--
--- Synchronet 3.18a-Linux NewsLink 1.113