HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disable some IP addresses on DNS server
Operating System - HP-UX
1827811
Members
1865
Online
109969
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-21-2003 03:59 PM
09-21-2003 03:59 PM
Hi All,
Need your help. I have a DNS server running on HPUX 11.00, and I would like to disable some IP addresses on the DNS server. What are the steps to do that?
Thanks and Best Regards,
Negara
Need your help. I have a DNS server running on HPUX 11.00, and I would like to disable some IP addresses on the DNS server. What are the steps to do that?
Thanks and Best Regards,
Negara
Santos
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 09:08 AM
09-23-2003 09:08 AM
Re: Disable some IP addresses on DNS server
The way to disable, actually delete, DNS names involves editing two file. To determine those two files you have to look at /etc/named.boot to find where the "zone" records are located on your system. It will be the file pointed to by "directory" line in /etc/named.boot.
On a standard server they would normally be in the /etc/named directory but check by reading the /etc/named.boot file.
You will see at least two files there that point toward "A" and "PTR"records. Usually they are named db.your_domain and db.your_ip_subnet i.e:
db.hp.com and db.192.168.0
Those files contain the forward (db.com) and the reverse (db.192..) lookup files. Simply edit them, removing the reference to those IP Address and increment the serial number to reflect the change.
Old file:
root> cat db.sbc
@ IN SOA one.your.com. root.chop.sbc.com. (
1 ; Serial
10800 ; Refresh every 3 hours
3600 ; Retry every hour
604800 ; Expire after a week
86400 ) ; Minimum ttl of 1 day
IN NS chop.sbc.com.
localhost IN A 127.0.0.1
one IN A 10.163.65.47
two IN MX 10 hree.your.com.
Notice the serial entry is 1 just increment it two 2.
Same thing on the db.address file
Once you have done this, start and stop named:
/sbin/init.d/named stop
/sbin/init.d/named start
Good luck
On a standard server they would normally be in the /etc/named directory but check by reading the /etc/named.boot file.
You will see at least two files there that point toward "A" and "PTR"records. Usually they are named db.your_domain and db.your_ip_subnet i.e:
db.hp.com and db.192.168.0
Those files contain the forward (db.com) and the reverse (db.192..) lookup files. Simply edit them, removing the reference to those IP Address and increment the serial number to reflect the change.
Old file:
root> cat db.sbc
@ IN SOA one.your.com. root.chop.sbc.com. (
1 ; Serial
10800 ; Refresh every 3 hours
3600 ; Retry every hour
604800 ; Expire after a week
86400 ) ; Minimum ttl of 1 day
IN NS chop.sbc.com.
localhost IN A 127.0.0.1
one IN A 10.163.65.47
two IN MX 10 hree.your.com.
Notice the serial entry is 1 just increment it two 2.
Same thing on the db.address file
Once you have done this, start and stop named:
/sbin/init.d/named stop
/sbin/init.d/named start
Good luck
If it has wheels or a skirt, you can't afford it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 06:43 PM
09-23-2003 06:43 PM
Re: Disable some IP addresses on DNS server
Hi,
If i am understandin Quat. then i think you want to disable or remove the some of the hostname resolution in your DNS server.
Do the Following step:
1) List the name of host and ip address
2)check the /etc/named.conf and find out the in which direcotry contain the DNS database directory
3)Change to the DNS database directory which you specified in /etc/named.conf file. e.g /var/named, /etc/named etc.
4)open the forward zone file like any named something.com
open it in to vi editor and remove the which you want to remove the hostname associate IP address then save and quit from the file
5)repeat the step4 in reverse zone database file
in that there is entry like ipaddress to hostnamed
Remove the ipaddress which you listed out
save the file and quit from the file
Here no need to stop and start the service because we only editing the database when we issue the query it only looks the database file
Thanx
If i am understandin Quat. then i think you want to disable or remove the some of the hostname resolution in your DNS server.
Do the Following step:
1) List the name of host and ip address
2)check the /etc/named.conf and find out the in which direcotry contain the DNS database directory
3)Change to the DNS database directory which you specified in /etc/named.conf file. e.g /var/named, /etc/named etc.
4)open the forward zone file like any named something.com
open it in to vi editor and remove the which you want to remove the hostname associate IP address then save and quit from the file
5)repeat the step4 in reverse zone database file
in that there is entry like ipaddress to hostnamed
Remove the ipaddress which you listed out
save the file and quit from the file
Here no need to stop and start the service because we only editing the database when we issue the query it only looks the database file
Thanx
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP