- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reverse lookup???
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
Forums
Discussions
Discussions
Discussions
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
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
10-07-2002 03:58 AM
10-07-2002 03:58 AM
I have an hpux11 dns server that resolves all the host of the domain.
I've inserted a new record that is successfully resolved by the hostname. But if I try to resolve the ip the nslookup fails without resolveing he ip.
What i have to verify?
Regards...
PSS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 04:08 AM
10-07-2002 04:08 AM
Re: Reverse lookup???
For reverse lookup to work sucessfully you need to create a reverse zone database file
and point it in /etc/named.conf like forward
zone files.
example file:
; the 12.76.149.in-addr.arpa domain.
@ IN SOA {
niels.physics.groucho.edu.
hostmaster.niels.physics.groucho.edu.
233 360000 3600 3600000 3600
}
2 IN PTR otto.physics.groucho.edu.
4 IN PTR quark.physics.groucho.edu.
5 IN PTR down.physics.groucho.edu.
6 IN PTR strange.physics.groucho.edu.
Figure 8. An excerpt from the named.rev file for network
149.76.
;
; the 76.149.in-addr.arpa domain.
@ IN SOA {
vax12.gcc.groucho.edu.
hostmaster.vax12.gcc.groucho.edu.
233 360000 3600 3600000 3600
}
...
; subnet 4: Mathematics Dept.
1.4 IN PTR sophus.maths.groucho.edu.
17.4 IN PTR erdos.maths.groucho.edu.
23.4 IN PTR gauss.maths.groucho.edu.
...
; subnet 12: Physics Dept, separate zone
12 IN NS niels.physics.groucho.edu.
IN NS gauss.maths.groucho.edu.
niels.physics.groucho.edu. IN A 149.76.12.1
gauss.maths.groucho.edu. IN A 149.76.4.23
12.76.149.in-addr.arpa domain. is the zone name to be included in /etc/named.conf. where
149.76.12.0 is the network address in the example.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 04:17 AM
10-07-2002 04:17 AM
Re: Reverse lookup???
Then in /etc/named.conf put this lines
zone "90.in-addr.arpa" in {
type master;
file "named.reverse";
};
named.reverse is the file we have just created
If otto.physics.groucho.edu. has IP address
90.0.0.2 then in named.reverse file you should have a entry like this.
2 IN PTR otto.physics.groucho.edu.
Then restart named.
Now reverse lookup of 90.0.0.2 will give
otto.physics.groucho.edu. as answer.
regards,
U.Sivakumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 05:04 AM
10-07-2002 05:04 AM
Re: Reverse lookup???
Regards...
PSS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 02:18 PM
10-07-2002 02:18 PM
SolutionThe reverse file(s) is usually named
/etc/named.data/db.xxx.xxx.xxx
where xxx.xxx.xxx is the subnet IP
Whereas the forward lookup file is usually named
/etc/named.data/db.boota
for an example boota.com domain
The /etc/named.boot file will contain pointers to both these files as follows:
primary boota.com db.boota
primary 3.168.192.IN-ADDR.ARPA db.192.168.3
The db.192.168.3 file would have a reverse entry for each ip in the subnet as follows:
10 IN PTR myhost.boota.com
The db.boota file has forward entries as follows:
myhost IN A 192.168.3.10
Hope this answers your question.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 03:01 PM
10-07-2002 03:01 PM
Re: Reverse lookup???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2002 12:09 AM
10-08-2002 12:09 AM
Re: Reverse lookup???
your post was fully exaustive!
Regards...
PSS