LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-22-2012, 10:54 PM   #1
redamber
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Bind9 DNS can't resolve or work at all...


Hello I'm wondering if you can find my problem in my configuration on why I can't dig or even ping my DNS Zone

Quote:
OUTPUT OF {CAT NAMED.CONF.LOCAL}

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

#forward lookup zones
zone "homeserver.com"{
type master;
file "/etc/bind/zones/homeserver.com.db";
};


#Reverse lookup zone
zone "1.168.192.in-addr.arpa"
{
type master;
file "/etc/bind/zones/rev.1.168.192.in-addr.arpa";
};
Quote:
OUTPUT OF {CAT HOMESERVER.COM.DB}

// replace example.com with your domain name. do not forget the . after the domain name!
// Also, replace ns1 with the name of your DNS server
homeserver.com. IN SOA ns1.homeserver.com. kaden.homeserver.com. (
// Do not modify the following lines!
2007031001
28800
3600
604800
38400
)

// Replace the following line as necessary:
// ns1 = DNS Server name
// homeserver.com. = domain name
homeserver.com. IN NS ns1.homeserver.com.

NS homeserver.com.
// Replace the IP address with the right IP addresses.
www IN A 192.168.1.2
ns1 IN A 192.168.1.2
Quote:
OUTPUT OF {CAT rev.1.168.192.in-addr.arpa}

$TTL 3D
@ IN SOA ns1.homeserver.com. kaden.homeserver.com. (
2007031001;
28800;
604800;
86400
);
IN NS ns1.homeserver.com.
2 IN PTR homeserver.com.
Quote:
output of [cat /etc/resolv.conf]

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
search homeserver.com
nameserver 192.168.1.2
 
  


Reply



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
DNS reverse zone delgation work in BIND8 but not BIND9 nixlayman Linux - Networking 1 04-03-2012 03:26 PM
[SOLVED] DNS with bind9 on Debian: won't resolve (zone file error?) rrije Linux - Software 3 09-10-2011 08:59 AM
bind9 server fails to resolve locally Vimuth Linux - Enterprise 5 12-14-2009 10:55 AM
BIND9 - I can resolve all hosts but not internal domain todd_dsm Linux - Server 5 04-06-2009 09:11 PM
IP adrs work but DNS won't resolve my name richearle Linux - Networking 4 07-28-2006 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration