|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||
|
||||
|
let's take a look at something else. Shut down named. Then execute the following:
named -u named -g show me the response. |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
||||
|
||||
|
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.
|
|
#11
|
|||
|
|||
|
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 |
|
#12
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Configure named for DNS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|