06-24-2010
DNS and NTP strange problem
Hi,
I'm having problem with my DNS and NTP.
For the DNS:
I'm using RHEL4, Bonding and heartbeat.
Bond0 IP address: 192.168.1.10
Heartbeat or Bond0:0: 192.168.1.50
Currently, I use my heartbeat ip address for my DNS or in named.conf
Everytime I reboot my server, it says that dns/named successfully started but when I type nslookup in shell, it did not show anything at all. But when I restart named by using "/etc/init.d/named restart" I able to nslookup my dns configuration.
I'm confused, what's going on? shouldnt redhat startup process starts my named? why do I need to restart again.. anyone can help?
--------------------------------------------------------------
For the NTP:
I'm using RHEL4, Bonding and heartbeat.
Bond0 IP address: 192.168.1.10
Heartbeat or Bond0:0: 192.168.1.50
I use NTP for server and client. I set my NTP configuration using my heartbeat IP (192.168.1.50)
I able to sync from server to client, the problem is also after I reboot the server. the ntpd is running, but when I trace the wireshark from my server, actually my server send the packets by using my bond0 ip address (192.168.1.10) instead using my heartbeat ip (192.168.1.50).
But when I restart ntpd "/etc/init.d/ntpd restart"
I trace again from wireshark, the server starts to send packets using my heartbeat ip address (192.168.1.50) which is the way it supposed to be.
I'm confused, whats happening here? is it because my named and ntpd starts before the heartbeat starts during the startup process when I reboot the server?
is there a way to tweak the named and ntpd to start after the heartbeat starts?
Thank You.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I have a problem using NTP.
We have a setup as following :
client --> HP Server(NTP) --> DMZ server --> DMZ server --> Internet
Only some clients and our HP server is using NTP, the others are using different software.
Now I get an error every day :
Oct 1 13:17:15 nlunx1n1 xntpd:... (4 Replies)
Discussion started by: davidg
4 Replies
2. Solaris
Dear All
I'm solaris user . I need to setup NTP authentication for my office server but I have some question for ntp setting up. I need to know if i set authen NTP the client that doesn't set for authen key can sync time from authen ntp server or not ?? when i setup the authen at ntp server ... (1 Reply)
Discussion started by: goasutlor
1 Replies
3. UNIX for Dummies Questions & Answers
All -
i tried to sysn the clock from our server to get the timing and the server IP has been added in the ntp.conf file and i have some problems here. if some1 help me to solve this problem.
1. i can ping server
2. i was unable to ntpq -p (time out, no response from remote server, it looks... (2 Replies)
Discussion started by: March_2007
2 Replies
4. AIX
Hello everybody! When I run command "ntpdate" the following error occures
"ksh: ntpdate: 0403-006 Execute permission denied.
"
# oslevel -s
5300-08-06-0918
oslevel -r
5300-08
eny suggestion friends? :-) (3 Replies)
Discussion started by: wwwzviadi
3 Replies
5. Red Hat
Hi,
I have 4 machines and all are NTP configured with same ntp.conf file. But 3 machines are in sync with Time server and 4th machine is not contacting & sync with the NTP server. Please see the below details.
# service ntpd stop
Stopping ntpd: ... (0 Replies)
Discussion started by: uday123
0 Replies
6. Solaris
Hi,
I have edited the /etc/inet/ntp.conf file to point to a new time server. When I restart ntp on Solaris 10 using 'svcadm disable/enable ntp' it still points to the old ntp server when I run a 'ntpq -p'.
Any ideas?
Thanks.
Sparcman (4 Replies)
Discussion started by: sparcman
4 Replies
7. UNIX for Advanced & Expert Users
Hello every one i want to setup a ntp on sco unix 5.0.6 and i don't have any time server how can i do this with local time (1 Reply)
Discussion started by: kaydream
1 Replies
8. HP-UX
Hi
I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server?
FR (3 Replies)
Discussion started by: fretagi
3 Replies
9. AIX
I got an ntp time problem on AIX server.
os version is AIX7.1
OS LEVEL 7.1.0.0
i got below output,when i run the below command
bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX
4 Dec 12:50:49 ntpdate: 3.4y
transmit(xxxxxxxxx)
receive(xxxxxxxxx)
transmit(xxxxxxxx)
receive(xxxxxxxxx)... (9 Replies)
Discussion started by: murali969
9 Replies
10. UNIX for Beginners Questions & Answers
Someone, please help on this issue:-
Note : for security reason i didn't mention hostnames and ips.
==============================================================================
# ntpstat
unsynchronised
polling server every 1024 s
Ntpstat showing unsynchronised.
... (29 Replies)
Discussion started by: shanmugaraj
29 Replies