DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 30th, 2012, 06:50 PM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
Failure restarting BIND DNS with Webmin following above instructions

When I do the sticky of this subforum that goes on about how to set up DNS in webmin,

And then as I finish, I restart BIND DNS Server, I 'stop' and then 'start' it, in the top right corner

I get:

PHP Code:
 Failed to start BIND Starting namedError in named configurationzone localhost.localdomain/INloaded serial 0 zone localhost/INloaded serial 0 zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/INloaded serial 0 zone 1.0.0.127.in-addr.arpa/INloaded serial 0 zone 0.in-addr.arpa/INloaded serial 0 zone mydomain.com/INNS 'ns1.mydomain.com' has no address records (or AAAAzone mydomain.com/INNS 'ns2.mydomain.com' has no address records (or AAAAzone mydomain.com/INNS 'mydomain.com' has no address records (or AAAAzone mydomain.com/INnot loaded due to errors_default/mydomain.com/INbad zone [FAILED



I'm on a dedi. I was hoping to get one of my IPs hosted as its own nameserver, with its own dedicated IP. Somehow I think I´ve failed but can't pinpoint what I've done wrong.

I'm also not sure I'll successfully be able to point the domain from namecheap to this server as I haven't experience with webmin. I'm currently fidgeting about over at namecheap to get it there, but my failure at DNS BIND seems to indicate this is a more important problem.

When in address records, I input one of the dedicated IPs, not the IP where the webmin is sitting at. But even when I later on tried the webmin IP, I also got this message about BIND.

Reply With Quote
  #2  
Old August 30th, 2012, 07:02 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 57 m 49 sec
Reputation Power: 5048
The sticky for Webmin is probably a little outdated. I will need to get that updated at some point.

In the meantime though, can you post your zone config so that I can take a look at what you have done.

Also, at the registrar, have you placed the nameservers (and DNS hosts if needed)?
__________________
"I don't need to get a life. I'm a gamer. I have lots of lives!"

Reply With Quote
  #3  
Old August 30th, 2012, 07:16 PM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
First of all thanks for the sticky, I think I'd be a zillion times more lost without it right now.

By Zone Config, do you mean, under BIND DNS Server in Webmin, ''Edit Config File'', this is what's there:

Code:
//  // named.conf  //  // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS  // server as a caching only nameserver (as a localhost DNS resolver only).  //  // See /usr/share/doc/bind*/sample/ for example named configuration files.  //    options {  	listen-on port 53 {  		any;  		};  	listen-on-v6 port 53 {  		any;  		};  	directory 	"/var/named";  	dump-file 	"/var/named/data/cache_dump.db";          statistics-file "/var/named/data/named_stats.txt";          memstatistics-file "/var/named/data/named_mem_stats.txt";  	recursion yes;    	dnssec-enable yes;  	dnssec-validation no;  	dnssec-lookaside auto;    	/* Path to ISC DLV key */  	bindkeys-file "/etc/named.iscdlv.key";  };    logging {          channel default_debug {                  file "data/named.run";                  severity dynamic;          };  };    zone "." IN {  	type hint;  	file "named.ca";  };    include "/etc/named.rfc1912.zones";    zone "mydomain.com" {  	type master;  	file "/var/named/mydomain.com.hosts";  	};  


Over at namecheap, I also don't know what I'm doing, but under 'Nameserver Registration, I've added the IP address to ns1.mydomain.com and ns2.mydomain.com. Despite, having added the IP, it saying only ns2.mydomain.com had updated, when I 'Find all existing nameservers', it gives me both ns1 and ns2 with the IP.

Over at domain name server setup I have also changed the custom DNS Servers to the ns1 and ns2.mydomain.com I now was hoping to get working.

Reply With Quote
  #4  
Old August 30th, 2012, 08:08 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 57 m 49 sec
Reputation Power: 5048
Quote:
Originally Posted by flurpny
First of all thanks for the sticky, I think I'd be a zillion times more lost without it right now.

By Zone Config, do you mean, under BIND DNS Server in Webmin, ''Edit Config File'', this is what's there:



No... under Webmin, it will be listed under BIND DNS Server. Look under Existing DNS Server and click on the zone you created.

Click on Edit Records File and paste what you see there.

Reply With Quote
  #5  
Old August 30th, 2012, 08:36 PM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
Quote:
Originally Posted by hiker
No... under Webmin, it will be listed under BIND DNS Server. Look under Existing DNS Server and click on the zone you created.

Click on Edit Records File and paste what you see there.


$ttl 38400
mydomain.com. IN SOA mydomain.com. info.mydomain.com. (
1346390600
10800
3600
604800
38400 )
mydomain.com. IN NS mydomain.com.
www.mydomain.com. IN A 123.123.123.123
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
mail.mydomain.com. IN MX 10 mail.mydomain.com.

Reply With Quote
  #6  
Old August 30th, 2012, 08:54 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 57 m 49 sec
Reputation Power: 5048
Quote:
Originally Posted by flurpny
$ttl 38400
mydomain.com. IN SOA mydomain.com. info.mydomain.com. (
1346390600
10800
3600
604800
38400 )
mydomain.com. IN NS mydomain.com.
www.mydomain.com. IN A 123.123.123.123
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
mail.mydomain.com. IN MX 10 mail.mydomain.com.


You need to create additional A records. You only have an A record for www.mydomain.com. You need to create an A record for:
mydomain.com
ns1.mydomain.com
ns2.mydomain.com
mail.mydomain.com

Reply With Quote
  #7  
Old August 30th, 2012, 09:30 PM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
Now I'm getting:

Failed to start BIND : Starting named: [FAILED]

i created address records for the ones you suggested, I think. I tried to take the ending period off them but they wouldn't budge.

this is my records file:

$ttl 38400
mydomain.com. IN SOA mydomain.com. info.mydomain.com. (
1346390606
10800
3600
604800
38400 )
mydomain.com. IN NS mydomain.com.
www.mydomain.com. IN A 123.123.123.123
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
mail.mydomain.com. IN MX 10 mail.mydomain.com.
mydomain.com. IN A 123.123.123.123
ns1.mydomain.com. IN A 123.123.123.123
ns2.mydomain.com. IN A 123.123.123.123
mail.mydomain.com. IN A 123.123.123.123

Reply With Quote
  #8  
Old August 31st, 2012, 09:20 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jan 2005
Location: Florida
Posts: 5,091 hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)hiker User rank is General 61st Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 3 Months 2 Weeks 6 Days 21 h 57 m 49 sec
Reputation Power: 5048
If you remove the ending periods, it will make the listings relative. In other words, if you just had mydomain.com (without the ending period) it would append mydomain.com to the end giving you mydomain.com.mydomain.com. In other words, leave the ending period.

You should check your log files to see what is happening when you try to start named.

What flavor of linux are you running?

Either posting the domain or PMing it to me would allow me to assist more...

Reply With Quote
  #9  
Old August 31st, 2012, 11:48 PM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
I'm using CentOS 6.2.

I'll pm you my domain name.

As for checking my log files when I try to start named, I'm not entirely sure what you mean. As far as I know when it comes to log files, I go to Webmin Actions Log, and an attempt to Start BIND over at BIND DNS Server results in Failed to start BIND:Starting named: FAILED. But the webmin actions log don't show whatever is happening when this fails. The webmin actions log, however, does show quite a few actions I was up to yesterday when I was creating a-records etc.

From yesterday, the webmin actions log actually shows when I stopped the DNS Server, but it then goes on to fail to describe the attempts I made at restarting it.

Reply With Quote
  #10  
Old September 1st, 2012, 12:02 AM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
ok can't pm apparently, the domain in question is xmortgages dot com

Reply With Quote
  #11  
Old September 3rd, 2012, 09:59 PM
flurpny flurpny is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 10 flurpny User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 29 sec
Reputation Power: 0
OK, never mind we managed to solve the problem, something about user and group had to be renamed. But we've had more bumps along the ride and right now the server won't receive emails because apparently it doesn't have RDNS according to my support. I'm wondering if that's normal.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Failure restarting BIND DNS with Webmin following above instructions

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap