12-02-2013
Yes, removal/commenting of 127.127.1.0 lines in /etc/inet/ntp.conf and restarting the xntpd should do it.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi there!
Does anybody know if HP-UX 11.i supports NTP? If yes, what version on NTP should be used?
Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies
2. IP Networking
How can I install ntp on AIX (4.3-5.1) ?
thnx (1 Reply)
Discussion started by: Gismo
1 Replies
3. Solaris
All,
How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server.
Any... (1 Reply)
Discussion started by: bubba112557
1 Replies
4. UNIX for Advanced & Expert Users
I am going to set NTP on sun solaris 8 and 9 servers.
There Oracle Databases on hose server.
Any Impact to Oracle DBs with NTP.
Thanks. (2 Replies)
Discussion started by: sriny
2 Replies
5. Solaris
Hi ,
What is the best way to configure NTP ( Network Timing Protocol ).. on Solaris 9 .... I have 5 Servers.
Regards (2 Replies)
Discussion started by: ArabOracle.com
2 Replies
6. Solaris
Hi i have question about NTP Client
OS: Solaris 10 (11/06)
I'm create /etc/inet/ntp.conf and remove /etc/inet/ntp.client
In ntp.conf :
server 10.0.0.1
server 10.0.0.2
# svcadm enable ntp
# svcs -a | grep ntp
online 12:48:16 svc:/network/ntp:default
# ntpq
ntpq>... (1 Reply)
Discussion started by: jess_t03
1 Replies
7. Solaris
Hello
I use Solaris 10 and I have NTP packages arlrady installed
pkginfo | grep -i ntp
system SUNWntpr NTP, (Root)
system SUNWntpu NTP, (Usr)
How to configure NTP?
thanks (2 Replies)
Discussion started by: melanie_pfefer
2 Replies
8. Linux
All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies
9. 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
10. Red Hat
Hi,
I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local?
# ntpq -p
... (3 Replies)
Discussion started by: pjeedu2247
3 Replies
LEARN ABOUT CENTOS
nss-myhostname
NSS-MYHOSTNAME(8) nss-myhostname NSS-MYHOSTNAME(8)
NAME
nss-myhostname - Provide hostname resolution for the locally configured system hostname.
SYNOPSIS
nss-myhostname.la
DESCRIPTION
nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing hostname resolution
for the locally configured system hostname as returned by gethostname(2). Various software relies on an always-resolvable local hostname.
When using dynamic hostnames, this is usually achieved by patching /etc/hosts at the same time as changing the host name. This however is
not ideal since it requires a writable /etc file system and is fragile because the file might be edited by the administrator at the same
time. nss-myhostname simply returns all locally configured public IP addresses, or, if none are configured, the IPv4 address 127.0.0.2
(which is on the local loopback) and the IPv6 address ::1 (which is the local host) for whatever system hostname is configured locally.
Patching /etc/hosts is thus no longer necessary.
To activate the NSS modules, myhostname has to be added to the line starting with "hosts:" in /etc/nsswitch.conf
It is recommended to put myhostname last in the nsswitch.conf line to make sure that this mapping is only used as fallback, and any DNS or
/etc/hosts based mapping takes precedence.
EXAMPLE
# /etc/nsswitch.conf
passwd: compat
group: compat
shadow: compat
hosts: files dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
To test, use glibc's getent tool:
$ getent ahosts `hostname`
::1 STREAM omega
::1 DGRAM
::1 RAW
127.0.0.2 STREAM
127.0.0.2 DGRAM
127.0.0.2 RAW
In this case the local hostname is omega.
SEE ALSO
systemd(1), systemd-logind.service(8), logind.conf(5), loginctl(1), pam.conf(5), pam.d(5), pam(8), pam_loginuid(8)
systemd 208 NSS-MYHOSTNAME(8)