DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 May 2nd, 2004, 11:08 AM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
DNS problems again

Hi:

I asked a similar question before about the DNS (BIND) on Linux not resolving to my domain name. I switched over from Redhat 9 to Fedora, which is almost the same thing. Here's the thing, whenever I create a zone, named "coopercentral.org", it's saved in:

/var/named/chroont/var/named/coopercentral.org.zone rather than
/var/named/coopercentral.org.zone

Should I just copy that one to the /var/named/ folder?

I went to http://www.dollardns.org and my site doesn't show all the stuff it used to. The contents of my coopercentral.org.zone file is:

Code:
$TTL 86400
@	IN	SOA	ns1.coopercentral.org.  admin.coopercentral.org (
			9 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttl
			)


	IN	NS	ns1.coopercentral.org.
	IN	NS	ns2.coopercentral.org.

@	IN	MX	10	mail

ns1	IN	A	24.169.144.218
ns2	IN	A	24.169.144.218
www	IN	A	24.169.144.218
mail	IN	A	24.169.144.218
ftp	IN	A	24.169.144.218
@	IN	A	24.169.144.218


I copied that stuff from my last file when I was on Redhat, and it refuses to resolve. I turned off the firewall before, and still nothing. The required ports are open on my router, and still nothing. Does it take an hour or so to resolve? My site's settings have been set to ns1.coopercentral.org / ns2.coopercentral.org (24.169.144.218) for awhile now. Basically go here:

http://24.169.144.218

that SHOULD be the same as:

http://www.coopercentral.org

but it just doesn't resolve. I did "nmap localhost" and everything like apache, named, smtp, ftp is all open.

Is there anything you want me to do to check everything's ok, or anything that I could fix this by? Thanks a lot for your help!!!

Ken Cooper
__________________
Thanks!

Reply With Quote
  #2  
Old May 2nd, 2004, 11:13 AM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
btw, this is the /etc/named.conf file:

Code:
// generated by named-bootconf.pl

options {
	directory "/var/named";
	/*
	 * If there is a firewall between you and nameservers you want
	 * to talk to, you might need to uncomment the query-source
	 * directive below.  Previous versions of BIND always asked
	 * questions using port 53, but BIND 8.1 uses an unprivileged
	 * port by default.
	 */
	// query-source address * port 53;
};

// 
// a caching only nameserver config
// 
controls {
	inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
	type hint;
	file "named.ca";
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
	allow-update { none; };
};

zone "coopercentral.org" IN {
type master;
file "coopercentral.org.zone";
};

include "/etc/rndc.key";


Thanks again!!!!

Ken Cooper

Reply With Quote
  #3  
Old May 2nd, 2004, 11:20 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,587 Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 21 h 21 m 5 sec
Reputation Power: 997
www.coopercentral.org is resolving just fine for me. Also, both hyperlinks are showing me the same page.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month
Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements

Reply With Quote
  #4  
Old May 2nd, 2004, 03:07 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
So which do you prefer? To use chroot and the additional security it brings ya? Or, to not use chroot and the simplicity that brings ya?
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #5  
Old May 2nd, 2004, 05:34 PM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
SilentRage:

First off, I'd like to say I LOVE your DNS Crawler tool, I use it all the time to test my site.

Next, I don't really prefer either of them. I just copied the same file for each directory, and it still worked.

Three, when I go to your site, and put in my site:

http://www.dollardns.net/cgi-bin/dn...nd+Query#report

It says TCP connection failed, yet it still shows my site. What do I have to do, so it properly shows all the A records, SOA record, NS record, and MX record, like an average site? If you need me to show you anything, I will. Thanks for your time/help!!!!

Ken Cooper

Reply With Quote
  #6  
Old May 2nd, 2004, 05:59 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
You must've broke something. Now I can't reach your site and UDP queries time out.

TCP is only optional, but recommended.

Reply With Quote
  #7  
Old May 3rd, 2004, 04:37 PM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
SilentRage, please try again. My site was down before, but now is back up. The IP address is 24.169.144.218.

My site doesn't respond at all. Please do a DNS crawl on my site:

ns1.coopercentral.org
coopercentral.org

UDP and TCP don't respond, -> server failure. What does that mean? My site also again isn't resolving. Does anyone know the problem? Thanks for everyone's advice!!!!

Ken Cooper

Reply With Quote
  #8  
Old May 3rd, 2004, 04:42 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
server failure means there's a syntax error in the zone file. At least both UDP and TCP work.

Reply With Quote
  #9  
Old May 3rd, 2004, 04:43 PM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
Thanks for the quick reply. Again, here's the file. Is there anything wrong with the "coopercentral.org" part?

Code:
// generated by named-bootconf.pl

options {
	directory "/var/named";
	/*
	 * If there is a firewall between you and nameservers you want
	 * to talk to, you might need to uncomment the query-source
	 * directive below.  Previous versions of BIND always asked
	 * questions using port 53, but BIND 8.1 uses an unprivileged
	 * port by default.
	 */
	// query-source address * port 53;
};

// 
// a caching only nameserver config
// 
controls {
	inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
	type hint;
	file "named.ca";
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "named.local";
	allow-update { none; };
};

zone "coopercentral.org" IN {
type master;
file "coopercentral.org.zone";
};

include "/etc/rndc.key";


I guess I can check it one last time, to make sure everything's all right. Also, how can I get it, so that when I do a DNS crawl on my site, it shows all the correct SOA, NS, MX, and A records? It wasn't showing it before. Thanks again!!!!

Ken Cooper

Reply With Quote
  #10  
Old May 3rd, 2004, 05:18 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
I didn't say named.conf or BIND config file. I said your zone file has a syntax error. The data file. The file with all the A's and MX's and other shibbyness. Here's the URL to display the entire zone once you fix the syntax error:

dig @24.169.144.218 coopercentral.org axfr

Reply With Quote
  #11  
Old May 3rd, 2004, 05:33 PM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
SilentRage, again, here's the zone file:

Code:
$TTL 86400
@	IN	SOA	ns1.coopercentral.org.  admin (
			9 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttl
			)


	IN	NS	ns1.coopercentral.org.
	IN	NS	ns2.coopercentral.org.

@	IN	MX	10	mail

ns1	IN	A	24.169.144.218
ns2	IN	A	24.169.144.218
www	IN	A	24.169.144.218
mail	IN	A	24.169.144.218
ftp	IN	A	24.169.144.218
@	IN	A	24.169.144.218


Well, to me, everything looks right. Is there any error you see that I shuold correct? Hopefully it's fixable. THanks again for all your help!!!

Ken Cooper

Reply With Quote
  #12  
Old May 3rd, 2004, 05:44 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,587 Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level)Scorpions4ever User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 21 h 21 m 5 sec
Reputation Power: 997
Looks like you're missing some @ signs.
Code:
@	IN	NS	ns1.coopercentral.org.
@	IN	NS	ns2.coopercentral.org.


Try this one out:
Code:
$TTL 86400
coopercentral.org.	IN	SOA	ns1.coopercentral.org.  admin.coopercentral.org. (
			9 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttl
			)


@	IN	NS	ns1.coopercentral.org.
@	IN	NS	ns2.coopercentral.org.

@	IN	MX	10	mail

ns1	IN	A	24.169.144.218
ns2	IN	A	24.169.144.218
www	IN	A	24.169.144.218
mail	IN	A	24.169.144.218
ftp	IN	A	24.169.144.218
@	IN	A	24.169.144.218

Reply With Quote
  #13  
Old May 3rd, 2004, 05:49 PM
Coopercentral2 Coopercentral2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: US
Posts: 261 Coopercentral2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 29 sec
Reputation Power: 6
Send a message via AIM to Coopercentral2
Thanks for the response, and I changed it to:

Code:
$TTL 86400
coopercentral.org.	IN	SOA	ns1.coopercentral.org.  admin.coopercentral.org. (
			9 ; serial
			28800 ; refresh
			7200 ; retry
			604800 ; expire	
			86400 ; ttl
			)


@	IN	NS	ns1.coopercentral.org.
@	IN	NS	ns2.coopercentral.org.

@	IN	MX	10	mail

ns1	IN	A	24.169.144.218
ns2	IN	A	24.169.144.218
www	IN	A	24.169.144.218
mail	IN	A	24.169.144.218
ftp	IN	A	24.169.144.218
@	IN	A	24.169.144.218


but still, nothing!!! Anything else I can do? Again, thank you very very very much for this big amount of help!!!

Ken Cooper

Last edited by Coopercentral2 : May 3rd, 2004 at 06:00 PM.

Reply With Quote
  #14  
Old May 3rd, 2004, 06:05 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)