|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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 ![]() |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
You must've broke something. Now I can't reach your site and UDP queries time out.
TCP is only optional, but recommended. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||
|
||||
|
server failure means there's a syntax error in the zone file. At least both UDP and TCP work.
|
|
#9
|
|||
|
|||
|
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 |
|
#10
|
||||
|
||||
|
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 |
|
#11
|
|||
|
|||
|
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 |
|
#12
|
||||
|
||||
|
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 |
|
#13
|
|||
|
|||
|
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. |
|
#14
|
|||
|