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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 22nd, 2004, 12:24 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
Configure named for DNS

Hi:

I am having problems getting my Redhat Linux 9.0 w/ Apache 1.3.29 server displaying my domain name, coopercentral.org. I have it registered and my registrar, and I created 2 name servers, ns1.coopercentral.org, and ns2.coopercentral.org (same IP addresses). The IP address of the name servers are 24.169.144.218, as is my IP address of my ISP IP address.

I read in another forum, they told me to enable the "named" service. I did that, which turned on the port 53. Then he said to "configured to listen for dns requests for my domain". How do I configure it so it can listen to requests on my domain name?

I'm sorry I keep asking so many things, but I've tryed for days, and nothing works. Again, thanks for ANY help you can give me, I really appreciate it!!!

Ken Cooper
__________________
Thanks!

Reply With Quote
  #2  
Old February 22nd, 2004, 02:24 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,193 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 14 h 27 m 56 sec
Reputation Power: 77
Is named running? To check to see if it is running, do this command on the redhat computer:

dig @24.169.144.218 coopercentral.org any

Tell me what response you get.
__________________
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
  #3  
Old February 22nd, 2004, 03:12 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
Hi:

When I tryed that, I made sure that "named" was on, which it was. I looked on the list of open ports, and it said:

192.168.1.101:53 -- tcp, so it's open. When I did that command, I got:

Code:
[root@localhost root]# dig @24.169.144.218 coopercentral.org any
 
; <<>> DiG 9.2.1 <<>> @24.169.144.218 coopercentral.org any
;; global options:  printcmd
;; connection timed out; no servers could be reached
[root@localhost root]#


That's pretty strange!! Every service is running correctly, but my domain name doesn't resolve AT ALL!!! How could this be? Does it have to do with the firewall again?

Ken Cooper

Reply With Quote
  #4  
Old February 22nd, 2004, 04:30 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,193 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 14 h 27 m 56 sec
Reputation Power: 77
I don't know what you mean by named being "on". If you're looking at a control panel, then ignore it. Scripts can be wrong (though in this case, unlikely).

so tell me if you see the "named" process when you execute the following. First make sure you're logged in as root to make sure you have the permissions.

ps -A

Reply With Quote
  #5  
Old February 22nd, 2004, 04:40 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
Hi:

I would like to thank you for the time you're putting in here!!! I do very much appreciate it!!!!

Ok, when I executed it, I did see the "named" service:

Code:
 3981 ?        00:00:00 named


So that means that the service is running, right? So... what else can I do? Thanks for your help!!

Ken Cooper

Reply With Quote
  #6  
Old February 22nd, 2004, 05:02 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,193 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 14 h 27 m 56 sec
Reputation Power: 77
Well, looks like named is running. Now let's make sure it bound itself to a the UDP port properly. Execute the following command and show me the response:

netstat -u

Reply With Quote
  #7  
Old February 22nd, 2004, 05:12 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
Here's the response to that command:

Code:
[root@localhost root]# netstat -u                          [  OK  ]
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
[root@localhost root]#


Sadly, I see NOTHING about UDP, and named, so... there's the problem? Thanks for ya help!!

Ken Cooper

Reply With Quote
  #8  
Old February 22nd, 2004, 05:52 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,193 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 14 h 27 m 56 sec
Reputation Power: 77
let's take a look at something else. Shut down named. Then execute the following:

named -u named -g

show me the response.

Reply With Quote
  #9  
Old February 22nd, 2004, 06:00 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
I executed it, and it just sat there before it was about to end, and pressed (ctrl-c), and it finished:

Code:
[root@localhost root]# named -u named -g
Feb 22 18:59:45.352 starting BIND 9.2.1 -u named -g
Feb 22 18:59:45.353 using 1 CPU
Feb 22 18:59:45.450 loading configuration from '/etc/named.conf'
Feb 22 18:59:45.533 no IPv6 interfaces found
Feb 22 18:59:45.533 listening on IPv4 interface lo, 127.0.0.1#53
Feb 22 18:59:45.567 binding TCP socket: address in use
Feb 22 18:59:45.567 listening on IPv4 interface eth0, 192.168.1.101#53
Feb 22 18:59:45.568 binding TCP socket: address in use
Feb 22 18:59:45.632 /etc/named.conf:15: couldn't add command channel 127.0.0.1#953: address in use
Feb 22 18:59:45.632 ignoring config file logging statement due to -g option
Feb 22 18:59:45.723 zone coopercentral.org/IN: loaded serial 18
Feb 22 18:59:45.723 running
Feb 22 18:59:45.724 zone coopercentral.org/IN: sending notifies (serial 18)
Feb 22 18:59:53.973 shutting down
Feb 22 18:59:53.974 no longer listening on 127.0.0.1#53
Feb 22 18:59:53.974 no longer listening on 192.168.1.101#53
Feb 22 18:59:53.977 exiting
[root@localhost root]#


Anything else I can do to solve this problem? Thanks for your help!!

Ken Cooper

Reply With Quote
  #10  
Old February 22nd, 2004, 06:28 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,193 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 14 h 27 m 56 sec
Reputation Power: 77
yeah, shut down named before you execute that command. If you thought it WAS shut down, then make sure it's gone via the ps command I showed you. If it just won't go away, then kill it.

Reply With Quote
  #11  
Old February 22nd, 2004, 06:38 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
Hi:

Well, I did shut it down. I did this:

Code:
service named stop


The output said that the "named" service has successfully stopped. Thanks!!

Ken Cooper

Reply With Quote
  #12  
Old February 23rd, 2004, 07:04 AM
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,193 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 14 h 27 m 56 sec
Reputation Power: 77
don't trust messages like that. The reason I know named wasn't really stopped was cause the execution I told you to do wasn't able to bind to any ports - which suggests bind is already running.

So please, this time, make sure named is not running in the ps list. If it is, and you don't know how to get rid of it, then show me the ps results for named and I'll tell you how to kill it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Configure named for DNS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |