- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What should I change in DNS server for changes...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 09:55 AM
тАО07-15-2009 09:55 AM
We have some hosts that will be changing their hostnames.
Our DNS server in on HPUX. I did not set this up so not familiar on waht to change.
What should I change on the UNIX DNS to reflect the hostname changes on the hosts? Plus what do I stop/start if needed?
Thanks,
f. halili
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 10:07 AM
тАО07-15-2009 10:07 AM
Re: What should I change in DNS server for changes in hosts?
DNS has a zone file for the domain.
Host names are A records.
These files are kept in a location defined by /etc/named.conf
Here is a typical zone file:
investmenttool.com IN SOA investmenttool.com. dns1.investmenttool.com.investmenttool.com. (
2008111601 ; serial
3600 ; refresh (1 hour)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS ns1.investmenttool.com.
NS ns2.investmenttool.com.
NS ns3.investmenttool.com.
NS dns4.investmenttool.com.
MX 10 mailx.investmenttool.com.
$ORIGIN investmenttool.com.
cluster A 208.109.119.54
dns1 A 208.109.119.54
dns2 A 69.17.73.116
dns3 A 66.92.143.196
dns4 A 208.109.119.54
mercury A 208.109.119.54
cns A 208.109.119.54
Change the A records as needed.
YYYYMMDD##
2008111601
That is the serial number. Change it to reflect today's date. The last two digits are change number for the day.
Save the file.
/sbin/init.d/named stop
/sbin/init.d/named start
You are done.
Back up the zone records before you start.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 10:41 AM
тАО07-15-2009 10:41 AM
Re: What should I change in DNS server for changes in hosts?
The named.conf I got looks different. Let me know what you think.
thanks,
f. halili
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 10:45 AM
тАО07-15-2009 10:45 AM
Re: What should I change in DNS server for changes in hosts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 10:50 AM
тАО07-15-2009 10:50 AM
SolutionSorry, I was unclear.
directory "/var/named"
That is where your zone records are.
zone "billing.corp.emsc.net" in {
type master;
file "db.billing.corp.emsc.net";
allow-update { none; };
forwarders { };
};
That is a reference to the zone record.
The file you edit is NOT named.conf.
It is db.billing.corp.emsc.net
You might benefit in this case from my 15 minutes verbal course on DNS.
Hit one of these two sites contact forms to give me a phone number in the US to call.
http://www.hpuxconsulting.com
http://www.isnamerica.com
Regards,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 10:53 AM
тАО07-15-2009 10:53 AM