Results 1 to 17 of 17
Thread: fraustated dns problem
-
06-12-2002, 10:56 AM #1Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
fraustated dns problem
Hi,
I have set it up nameserver and works fine.
When I try to set it up my domain it is not working.
Here is my etc/named/xxxx.hosts
$ttl 38400
xxxx.com. IN SOA ns2.***********. root.ns2.xxxxx.com. (
1023120366
10800
3600
604800
38400 )
NS ns2.x***********.
A 64.xx.xxx.7
mail CNAME ***********.
www CNAME xxxxx.com.
in /etc/httpd/conf/httpd.conf
<VirtualHost 64.xx.xx.7>
ServerAlias www.xxxxx.com xx***********
ServerAdmin abcd@localhost.com
DocumentRoot /home/shann/public_html
ServerName x***********
</VirtualHost>
is any other info needed please let me know.
Trying to find the problem and couldnt solve it.
Thanks in advance
Shann
-
06-12-2002, 11:43 AM #2Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
When troubleshooting domain names it helps to have the actual domain, so we can troubleshoot. But for starters, can you ping the domain name (ping www.domain.com)? It is easier for a problem like this to try one thing at a time to isolate where the problem is occuring.
If you can ping the domain, but not get to the website, then the problem is with your apache config, if you cannot even ping the domain, then you know it is most likely a DNS config problem.
-
06-12-2002, 12:04 PM #3Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
hi
i already tried ping and didnt work, here is more info to debug
my domain is supernetscripts.com and name server is
ns2.scriptstalk.com
Do I have to start run any daemon for DNSBIND on my server?
Thanks
shan
-
06-12-2002, 12:08 PM #4Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
The scriptstalk name servers do not have any information about this domain:
Code:[allan@ns1 allan]$ dig @NS2.SCRIPTSTALK.COM supernetscripts.com SOA ; <<>> DiG 9.1.3 <<>> @NS2.SCRIPTSTALK.COM supernetscripts.com SOA ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 39567 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;supernetscripts.com. IN SOA ;; Query time: 57 msec ;; SERVER: 64.231.233.7#53(NS2.SCRIPTSTALK.COM) ;; WHEN: Wed Jun 12 11:59:27 2002 ;; MSG SIZE rcvd: 37
-
06-12-2002, 12:28 PM #5Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
how do i do?
How could I feed my domain information to my nameserver
which file i have to modify?.
I thought this is the file feeding the info to nameserver.
Thank you for your help.
Shan
-
06-12-2002, 12:46 PM #6Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
named.conf is where domain information should be stored...however, it has to be set up on the actual server. You didn't make it clear you were doing that, so I just want to make sure: Are you editing the named.conf file on the server ns2.scriptstalk.com?
-
06-12-2002, 02:01 PM #7Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
more info
I already have done in /etc/named.conf, This is what I have
done.
zone "supernetscripts.com" {
type master;
file "/var/named/supernetscripts.com.hosts";
};
in /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.0.0.10 localhost.localdomain localhost
64.xx.xx.7 ns2.scriptstalk.com
This is the IP 64.xx.xx.7 I have given to register ns2.scriptstalk.com name server.
All of them I am doing in this IP ( 64.xx.xx.7). if you
need more info please let me know.
Thanks in advance
Shan
-
06-12-2002, 02:15 PM #8Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
dns works fine
I have tried to test my name server and works fine. You can be
checked at dnsreport.com.
if you have any questins let me know
shan
-
06-12-2002, 02:35 PM #9Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
I can see bind is working fine on the machine:
Code:[allan@ns1 allan]$ dig @NS2.SCRIPTSTALK.COM version.bind chaos txt ; <<>> DiG 9.1.3 <<>> @NS2.SCRIPTSTALK.COM version.bind chaos txt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42884 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;version.bind. CH TXT ;; ANSWER SECTION: version.bind. 0 CH TXT "9.2.0" ;; Query time: 39 msec ;; SERVER: 64.231.233.7#53(NS2.SCRIPTSTALK.COM) ;; WHEN: Wed Jun 12 14:26:18 2002 ;; MSG SIZE rcvd: 48
Did you restart named after you added the zone file for supernetscripts.com? When you did, did you notice any errors in /var/log/messages?
-
06-12-2002, 03:12 PM #10Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
Jun 12 15:23:21 localhost named[20475]: binding TCP socket: address in use
Jun 12 15:23:21 localhost named[20475]: listening on IPv4 interface ppp0, 64.x.xx.7#53
Jun 12 15:23:21 localhost named[20475]: binding TCP socket: address in use
Jun 12 15:23:22 localhost named[20475]: /etc/named.conf:12: couldn't add command channel 127.0.0.1#953: address in use
Jun 12 15:23:22 localhost named[20475]: /etc/named.conf:48: unknown logging category 'packet' ignored
Jun 12 15:23:22 localhost named[20475]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jun 12 15:23:22 localhost named[20475]: zone scriptstalk.com/IN: loaded serial 1023375427
Jun 12 15:23:22 localhost named[20475]: zone supernetscripts.com/IN: has no NS records
let me check what is wrong in /etc/httpd/conf/vhosts/supernetscripts.com.host
If any thing you can give me input.
Thanks again for looking at my problem.
shan
-
06-12-2002, 03:18 PM #11Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
No problem...this is what one of my hosts files looks like, may be it will help you:
Code:$ttl 38400 allan.org. IN SOA ns1.vbind.com. dns.vbind.com. ( 995551903 10800 3600 432000 38400 ) allan.org. IN NS ns1.vbind.com. www IN A 206.131.250.20 ftp IN A 206.131.250.20 mail IN A 206.131.250.20 allan.org. IN A 206.131.250.20 allan.org. IN NS auth50.ns.uu.net. allan.org. IN MX 10 mail allan.org. IN MX 50 mail.uu.net. cpanel.allan.org. IN A 198.93.70.124 cpanel2.allan.org. IN A 198.93.70.125 test.allan.org. IN A 192.168.0.40 anoncvs.allan.org. IN A 206.131.250.20 dcw.allan.org. IN A 206.131.250.20 jrun.allan.org. IN A 192.168.0.9
-
06-12-2002, 03:56 PM #12Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
Hi,
This is how my hosts file look like now ....... .
Is anything wrong here? can you please check it ?
$ttl 38400
supernetscripts.com. IN SOA ns2.scriptstalk.com. root.ns2.scriptstalk.com. (
1023120366
10800
3600
604800
38400 )
supernetscripts.com IN NS ns2.scriptstalk.com.
supernetscripts.com IN A 64.231.233.7
mail IN CNAME supernetscripts.com.
www IN CNAME supernetscripts.com.
thanks in advance
shan
-
06-12-2002, 03:59 PM #13Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
it looks okay, what did your error logs say after you restarted named?
-
06-12-2002, 04:05 PM #14Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
this is what i got after I issued
[root@localhost named]#named
Jun 12 16:23:46 localhost named[20836]: binding TCP socket: address in use
Jun 12 16:23:46 localhost named[20836]: listening on IPv4 interface ppp0, 64.231.233.7#53
Jun 12 16:23:46 localhost named[20836]: binding TCP socket: address in use
Jun 12 16:23:46 localhost named[20836]: /etc/named.conf:12: couldn't add command channel 127.0.0.1#953: address in use
Jun 12 16:23:46 localhost named[20836]: /etc/named.conf:48: unknown logging category 'packet' ignored
Jun 12 16:23:46 localhost named[20836]: couldn't open pid file '/var/run/named/named.pid': File exists
Jun 12 16:23:46 localhost named[20836]: exiting (due to early fatal error)
-
06-12-2002, 04:16 PM #15Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
Originally posted by shann
this is what i got after I issued
[root@localhost named]#named
[allan@ns1 allan]$ /etc/rc.d/init.d/named restart
You are trying to run simultaneous named processes, and that aint gonna work .
-
06-12-2002, 04:25 PM #16Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
same issue
After I run i got this isue
Jun 12 16:42:47 localhost named[20909]: listening on IPv4 interface ppp0, 64.231.233.7#53
Jun 12 16:42:47 localhost named[20909]: command channel listening on 127.0.0.1#953
Jun 12 16:42:47 localhost named[20909]: /etc/named.conf:48: unknown logging category 'packet' ignored
Jun 12 16:42:47 localhost named[20909]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jun 12 16:42:47 localhost named[20909]: zone scriptstalk.com/IN: loaded serial 1023375427
Jun 12 16:42:47 localhost named[20909]: zone supernetscripts.com/IN: has no NS records
Jun 12 16:42:47 localhost named[20909]: running
-
06-12-2002, 05:15 PM #17Junior Guru Wannabe
- Join Date
- Jun 2002
- Posts
- 51
Thank You ........
Thanks you so much .................
It works fine and going to default path and have to
set it up.
Thansk
Shan