LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-19-2007, 02:41 PM   #1
jedimastermopar
Member
 
Registered: Jun 2004
Distribution: fedora core 1 and core 2
Posts: 178

Rep: Reputation: 30
Bind unable to resolve


Hey guys,
trying to get bind running, I have it working partialy.
I can resolve my own hosted domains, and I can resolve non hosted domains from the dns server itself.
eg
nslookup www.mydomain.com - Works fine
nslookup www.google.com - Works Fine

However when I use a different computer on the network I can't resolve against the server for external domains but the hosted domain works fine.
EG
C:\>nslookup www.mydomain.com
*** Can't find server name for address 192.168.1.10: Query refused
*** Default servers are not available
Server: UnKnown
Address: 192.168.1.10

Name: www.mydomain.com
Address: 999.999.999.999


C:\>nslookup www.google.com
*** Can't find server name for address 192.168.1.10: Query refused
*** Default servers are not available
Server: UnKnown
Address: 192.168.1.10

*** UnKnown can't find www.google.com: Query refused


I have substitued the real IP for 999.999.999.999 but it gives me the correct IP address.

Any ideas? here is my named.conf file...
Code:
[root@ns1 etc]# cat named.conf
options {
  directory "/var/named";
  version "get lost";
  allow-transfer {"none";};
  listen-on {192.168.1.10;};
};

logging{
  channel example_log{
   file "/var/log/named/example.log" versions 3 size 2m;
   severity info;
   print-severity yes;
   print-time yes;
   print-category yes;
 };

category default{
  example_log;
 };
};

zone "." {
  type hint;
  file "/var/named/root.servers";
};
zone "mydomain.com" in{
  type master;
  file "/var/named/mydomain.com.zone";
};
[root@ns1 etc]#

Last edited by jedimastermopar; 12-19-2007 at 02:46 PM.
 
Old 12-19-2007, 03:14 PM   #2
jedimastermopar
Member
 
Registered: Jun 2004
Distribution: fedora core 1 and core 2
Posts: 178

Original Poster
Rep: Reputation: 30
I should also say that this "other" machine is sitting on a different subnet. If I sit on the same subnet as the Bind Server it resolves fine.
Seems weird that only outside resolves don't work from machines on other subnets??? Must be some security option I am missing to allow recursive resolves from other subnets.
 
Old 12-20-2007, 10:01 AM   #3
jedimastermopar
Member
 
Registered: Jun 2004
Distribution: fedora core 1 and core 2
Posts: 178

Original Poster
Rep: Reputation: 30
NM fixed the problem, recursive options missing.
 
Old 08-05-2009, 03:39 PM   #4
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Quote:
Originally Posted by jedimastermopar View Post
NM fixed the problem, recursive options missing.
I have this issue:
http://www.linuxquestions.org/questi...5/#post3630077

I checked my recursive options but unable to locate this anywhere in my named.conf.

Any idea?

Thanks!
DB
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I confiure BIND 9 to resolve my domain name? Glenjosh Linux - Software 2 04-21-2006 03:30 PM
BIND: server can't resolve names on itself psychobyte Linux - Networking 6 02-03-2006 05:24 PM
DNS bind cant resolve IP and hostname dwarf007 Linux - Software 1 01-14-2006 08:42 AM
my bind 8.2.4 sometime can't resolve name chhansopheaktra Linux - Networking 2 08-11-2005 06:29 AM
BIND - Locally OK, LAN cleints unable to resolve? Xaque208 Linux - Networking 2 08-08-2005 09:32 AM


All times are GMT -5. The time now is 07:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration