- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to use nsupdate to add NS record for reverse z...
Operating System - HP-UX
1819941
Members
3385
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-23-2004 03:27 AM
тАО09-23-2004 03:27 AM
How to use nsupdate to add NS record for reverse zone.
What I want to do.
Currently, in my bind 9.2.3, my reverse zone has 2 dns servers in SOA:
$ more 192.168.zone
$ORIGIN .
$TTL 14400 ; 4 hours
168.192.in-addr.arpa IN SOA dns1.mydomain.com. dnsguy.mydomain.com.168.192.in-addr.arpa. (
652395 ; serial
1800 ; refresh (30 minutes)
300 ; retry (5 minutes)
3600000 ; expire (5 weeks 6 days 16 hours)
604800 ; minimum (1 week)
)
$TTL 0 ; 0 seconds
NS dns2.mydomain.com.
NS dns1.mydomain.com.
$ORIGIN 1.168.192.in-addr.arpa.
I want to add a third - I know this is easy manually - rndc stop, edit zone file, add
NS dns3.mydomain.com.
update serial, restart named.
I use dynamic dns, so, how can I accomplish the above with nsupdate?
Rgds...Geoff
Currently, in my bind 9.2.3, my reverse zone has 2 dns servers in SOA:
$ more 192.168.zone
$ORIGIN .
$TTL 14400 ; 4 hours
168.192.in-addr.arpa IN SOA dns1.mydomain.com. dnsguy.mydomain.com.168.192.in-addr.arpa. (
652395 ; serial
1800 ; refresh (30 minutes)
300 ; retry (5 minutes)
3600000 ; expire (5 weeks 6 days 16 hours)
604800 ; minimum (1 week)
)
$TTL 0 ; 0 seconds
NS dns2.mydomain.com.
NS dns1.mydomain.com.
$ORIGIN 1.168.192.in-addr.arpa.
I want to add a third - I know this is easy manually - rndc stop, edit zone file, add
NS dns3.mydomain.com.
update serial, restart named.
I use dynamic dns, so, how can I accomplish the above with nsupdate?
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 04:47 AM
тАО09-23-2004 04:47 AM
Re: How to use nsupdate to add NS record for reverse zone.
Here's what I'm trying so far:
$ nsupdate
> zone 168.192.in-addr.arpa
> update add dns3.mydomain.com 0 IN NS
>
Doesn't seem to work....
Rgds...Geoff
$ nsupdate
> zone 168.192.in-addr.arpa
> update add dns3.mydomain.com 0 IN NS
>
Doesn't seem to work....
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 05:06 AM
тАО09-23-2004 05:06 AM
Re: How to use nsupdate to add NS record for reverse zone.
Sorry - no bunny for anyone :(
Answer is:
$ nsupdate
> zone 168.192.in-addr.arpa
> update add 168.192.in-addr.arpa 0 IN NS dns3.mydomain.com.
> send
>
> quit
check_soa 168.192.in-addr.arpa
dns1.mydomain.com has serial number 652396
dns2.mydomain.com has serial number 652396
dns3.mydomain.com has serial number 652396
Rgds...Geoff
Answer is:
$ nsupdate
> zone 168.192.in-addr.arpa
> update add 168.192.in-addr.arpa 0 IN NS dns3.mydomain.com.
> send
>
> quit
check_soa 168.192.in-addr.arpa
dns1.mydomain.com has serial number 652396
dns2.mydomain.com has serial number 652396
dns3.mydomain.com has serial number 652396
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP