--===============7850507358485985467==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C9AE23.5B6D2058"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C9AE23.5B6D2058
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
OK, I've been trying my hardest to figure this out.
I have BIND9 installed and set up as a slave to one of our Domain
Controllers (so we can at least still get DNS if it were to go down). It
works fine for transferring the zone file of our domain down, and from
the server running BIND I can resolve hostnames of our local network
machines along with outside names such as google.com (using nslookup,
yeah I know it sucks).
However, when I set up one of my Windows XP clients to use the new
server for DNS, it can resolve local machine names fine when I run
nslookup against it, but it gives me "Query refused" when trying to
resolve an outside DNS name.
I ran nslookup against the ISP's DNS IP's and can resolve the outside
hostnames just fine, but for some reason I can't resolve them against
the new DNS server.
I have not made any modifications to /etc/bind/named.conf. Instead, I
have put my configurations in /etc/bind/named.conf.local (since that is
what the named.conf file says to do).
Here is my /etc/bind/named.conf.local file (protected of course):
Code:
zone "OURDOMAIN.COM" {
type slave;
masters {
192.168.1.22;
192.168.1.23;
};
file "OURDOMAIN.COM.db";
allow-transfer {
any;
};
allow-query {
any;
};
};
=20
zone "192.168.in-addr.arpa" {
type slave;
masters {
192.168.1.22;
192.168.1.23;
};
file "192.168.in-addr.arpa.db";
allow-transfer {
any;
};
allow-query {
any;
};
};
And my /etc/bind/named.conf.options:
Code:
options {
directory "/var/cache/bind";
=20
forwarders {
216.12.0.20;
216.12.48.23;
};
=20
auth-nxdomain no;
listen-on-v6 { any; };
};
Again, this only seems to affect outside clients, I can run queries on
nslookup just fine on the DNS server itself.
Any help would be greatly appreciated.
=20
Kenny
------_=_NextPart_001_01C9AE23.5B6D2058
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
pre
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>OK, I've been trying my hardest to figure this out.<br>
<br>
I have BIND9 installed and set up as a slave to one of our Domain =
Controllers
(so we can at least still get DNS if it were to go down). It works fine =
for
transferring the zone file of our domain down, and from the server =
running BIND
I can resolve hostnames of our local network machines along with outside =
names
such as google.com (using nslookup, yeah I know it sucks).<br>
<br>
However, when I set up one of my Windows XP clients to use the new =
server for
DNS, it can resolve local machine names fine when I run nslookup against =
it,
but it gives me "Query refused" when trying to resolve an =
outside DNS
name.<br>
<br>
I ran nslookup against the ISP's DNS IP's and can resolve the outside =
hostnames
just fine, but for some reason I can't resolve them against the new DNS =
server.<br>
<br>
I have not made any modifications to /etc/bind/named.conf. Instead, I =
have put
my configurations in /etc/bind/named.conf.local (since that is what the
named.conf file says to do).<br>
<br>
Here is my /etc/bind/named.conf.local file (protected of =
course):<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Code:<o:p></o:p></span></font></p>
<div style=3D'mso-element:para-border-div;border:inset =
1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt'><pre
style=3D'border:none;padding:0in;overflow:auto'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>zone "OURDOMAIN.COM" =
{<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> type =
slave;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> masters =
{<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
192.168.1.22;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
192.168.1.23;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> file =
"OURDOMAIN.COM.db";<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
allow-transfer {<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
any;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
allow-query {<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
any;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'>};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'>zone "192.168.in-addr.arpa" =
{<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> type =
slave;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> masters =
{<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
192.168.1.22;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
192.168.1.23;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> file =
"192.168.in-addr.arpa.db";<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
allow-transfer {<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
any;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
allow-query {<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
any;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'>};<o:p></o:p></span></font></pre></div>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>And my
/etc/bind/named.conf.options:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Code:<o:p></o:p></span></font></p>
<div style=3D'mso-element:para-border-div;border:inset =
1.0pt;padding:5.0pt 5.0pt 5.0pt 5.0pt'><pre
style=3D'border:none;padding:0in;overflow:auto'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt'>options {<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
directory =
"/var/cache/bind";<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
forwarders {<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
216.12.0.20;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> &nbs=
p; =
216.12.48.23;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
};<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><o:p> </o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
auth-nxdomain no;<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'> =
listen-on-v6 { any; };<o:p></o:p></span></font></pre><pre
style=3D'border:none;padding:0in'><font size=3D2 face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'>};<o:p></o:p></span></font></pre></div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Again, this only seems to affect outside clients, I can run =
queries on
nslookup just fine on the DNS server itself.<br>
<br>
Any help would be greatly appreciated.</span></font><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Kenny<o:p></o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C9AE23.5B6D2058--
--===============7850507358485985467==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
bind-users mailing list
bind-...@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
--===============7850507358485985467==--
/Jonathan
2009/3/26 ARMSTRONG, KENNETH <KARMS...@botetourtva.us>:
> OK, I've been trying my hardest to figure this out.
>
> I have BIND9 installed and set up as a slave to one of our Domain
> Controllers (so we can at least still get DNS if it were to go down). It
> works fine for transferring the zone file of our domain down, and from the
> server running BIND I can resolve hostnames of our local network machines
> along with outside names such as google.com (using nslookup, yeah I know =
it
> sucks).
>
> However, when I set up one of my Windows XP clients to use the new server
> for DNS, it can resolve local machine names fine when I run nslookup agai=
nst
> it, but it gives me "Query refused" when trying to resolve an outside DNS
> name.
>
> I ran nslookup against the ISP's DNS IP's and can resolve the outside
> hostnames just fine, but for some reason I can't resolve them against the
> new DNS server.
>
> I have not made any modifications to /etc/bind/named.conf. Instead, I have
> put my configurations in /etc/bind/named.conf.local (since that is what t=
he
> named.conf file says to do).
>
> Here is my /etc/bind/named.conf.local file (protected of course):
>
> Code:
>
> zone "OURDOMAIN.COM" {
>
> =A0=A0=A0=A0=A0=A0 type slave;
>
> =A0=A0=A0=A0=A0=A0 masters {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 192.168.1.22;
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 192.168.1.23;
>
> =A0=A0=A0=A0=A0=A0 };
>
> =A0=A0=A0=A0=A0 =A0file "OURDOMAIN.COM.db";
>
> =A0=A0=A0=A0=A0=A0 allow-transfer {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 any;
>
> =A0=A0=A0=A0=A0=A0 };
>
> =A0=A0=A0=A0=A0=A0 allow-query {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 any;
>
> =A0=A0=A0=A0=A0=A0 };
>
> };
>
>
>
> zone "192.168.in-addr.arpa" {
>
> =A0=A0=A0=A0=A0=A0 type slave;
>
> =A0=A0=A0=A0=A0=A0 masters {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 192.168.1.22;
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 192.168.1.23;
>
> =A0=A0=A0=A0=A0=A0 };
>
> =A0=A0=A0=A0=A0=A0 file "192.168.in-addr.arpa.db";
>
> =A0=A0=A0=A0=A0=A0 allow-transfer {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 any;
>
> =A0=A0=A0=A0=A0=A0 };
>
> =A0=A0=A0=A0=A0=A0 allow-query {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 any;
>
> =A0=A0=A0=A0=A0=A0 };
>
> };
>
> And my /etc/bind/named.conf.options:
>
> Code:
>
> options {
>
> =A0=A0=A0=A0=A0=A0=A0 directory "/var/cache/bind";
>
>
>
> =A0=A0=A0=A0=A0=A0=A0 forwarders {
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 216.12.0.20;
>
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 216.12.48.23;
>
> =A0=A0=A0=A0=A0=A0=A0 };
>
>
>
> =A0=A0=A0=A0=A0=A0=A0 auth-nxdomain no;
>
> =A0=A0=A0=A0=A0=A0=A0 listen-on-v6 { any; };
>
> };
>
> Again, this only seems to affect outside clients, I can run queries on
> nslookup just fine on the DNS server itself.
>
> Any help would be greatly appreciated.
>
>
>
> Kenny
key "rndc-key" {
algorithm hmac-md5;
secret "stuff here";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
And created rndc.conf file with the following:
key "rndc-key" {
algorithm hmac-md5;
secret "stuff here";
};
But I still get the connection failed error as above when I try to restart =
bind.
> Thanks, I gave that a go and now when I run a query I get "No response
> from server" when running nslookup. I tried restarting bind and now I
> get the "rndc: connect failed: 127.0.0.1#953: connection refused" error.
> I then tried running rndc-confgen, and added the following to rndc.conf:
Is your named even running?
Check your logs.
Run named-checkconf.
Thanks, checking the config showed that I had messed up my syntax at the
recursion statement. I corrected that and was able to start bind, and
now I can run nslookup on my XP clients to resolve other domains!
Thanks to all for your help!!
Kenny
-----Original Message-----
From: Jeremy C. Reed [mailto:Jerem...@isc.org]
Sent: Thursday, March 26, 2009 12:44 PM
To: ARMSTRONG, KENNETH
Cc: bind-...@lists.isc.org