
06-12-2002, 10:56 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2002
Posts: 51
|
|
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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
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
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2002
Posts: 51
|
|
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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
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
That's bad 
|

06-12-2002, 12:28 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2002
Posts: 51
|
|
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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
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
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2002
Posts: 51
|
|
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
|
|
Junior Guru Wannabe
|
|
Join Date: Jun 2002
Posts: 51
|
|
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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
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
|
|
Junior 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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
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
|
|
Junior 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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
it looks okay, what did your error logs say after you restarted named?
|

06-12-2002, 04:05 PM
|
|
Junior 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
|
|
Retired Moderator
|
|
Join Date: Dec 2000
Location: Leesburg, VA
Posts: 3,205
|
|
Quote:
Originally posted by shann
this is what i got after I issued
[root@localhost named]#named
|
ahh...you're doing it wrong  :
[allan@ns1 allan]$ /etc/rc.d/init.d/named restart
You are trying to run simultaneous named processes, and that aint gonna work  .
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|