hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : fraustated dns problem
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

fraustated dns problem

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2002, 10:56 AM
shann shann is offline
Junior 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

Reply With Quote


Sponsored Links
  #2  
Old 06-12-2002, 11:43 AM
allan allan is offline
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.

__________________
My Political Blog

Reply With Quote
  #3  
Old 06-12-2002, 12:04 PM
shann shann is offline
Junior 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

Reply With Quote
Sponsored Links
  #4  
Old 06-12-2002, 12:08 PM
allan allan is offline
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

__________________
My Political Blog

Reply With Quote
  #5  
Old 06-12-2002, 12:28 PM
shann shann is offline
Junior 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

Reply With Quote
  #6  
Old 06-12-2002, 12:46 PM
allan allan is offline
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?

__________________
My Political Blog

Reply With Quote
  #7  
Old 06-12-2002, 02:01 PM
shann shann is offline
Junior 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

Reply With Quote
  #8  
Old 06-12-2002, 02:15 PM
shann shann is offline
Junior 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

Reply With Quote
  #9  
Old 06-12-2002, 02:35 PM
allan allan is offline
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?

__________________
My Political Blog

Reply With Quote
  #10  
Old 06-12-2002, 03:12 PM
shann shann is offline
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

Reply With Quote
  #11  
Old 06-12-2002, 03:18 PM
allan allan is offline
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

__________________
My Political Blog

Reply With Quote
  #12  
Old 06-12-2002, 03:56 PM
shann shann is offline
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

Reply With Quote
  #13  
Old 06-12-2002, 03:59 PM
allan allan is offline
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?

__________________
My Political Blog

Reply With Quote
  #14  
Old 06-12-2002, 04:05 PM
shann shann is offline
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)

Reply With Quote
  #15  
Old 06-12-2002, 04:16 PM
allan allan is offline
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 .

__________________
My Political Blog

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Outbound Spam Causing Sleepless Nights? Blog 2013-05-13 09:52:21
How To Deliver Products Customers Will Pay For with David Koston - HostingCon 2012 Web Hosting News 2012-07-18 10:46:16
HostingCon Preview: Q&A with David Koston of Fortuity LLC Web Hosting News 2012-07-10 12:54:20
eleven Survey Lists Spam as Greatest Email Security Threat in Ten Years Web Hosting News 2011-12-02 21:50:09
The Lesson of the Ten, with Jeff Hardy Web Hosting News 2011-08-08 22:12:01


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?