- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hosts_to_named
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
12-04-2000 12:49 PM
12-04-2000 12:49 PM
hosts_to_named
I do have one thing to throw out here though.
If hosts_to_named uses my existing /etc/hosts file as the basis for building a DNS database, I should think that it would want to be correct as possible before I start.
Given that, I know that my HP-UX hosts file was used back when we were a stand-alone network, then tweaked when we got internet access, etc. so I'm not certain it's properly set up.
Here's a fragment:
127.0.0.1 localhost loopback
209.90.236.66 corp applicatorssales.com
mail mail.applicatorssales.com
209.90.236.81 host1
...etc...
Some more info:
# domainname
# hostname
corp
It seems that, if this were properly set up, the domainname command would not return a blank line, and hostname should return the canonical name "corp.applicatorssales.com" isn't that right?
Any info about this would be appreciated.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:01 PM
12-04-2000 01:01 PM
Re: hosts_to_named
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:01 PM
12-04-2000 01:01 PM
Re: hosts_to_named
domainname command is only useful when you are using NIS (Network Information Service) and as you obviously are not, there is nothing to worry about - it should return blank.
do a man on domainname for more info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:02 PM
12-04-2000 01:02 PM
Re: hosts_to_named
If you are not sure about your /etc/hosts validation, contact your network guys for a complete IP list and compare the assigned IP's to you /etc/hosts.
Sharing the knowledge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:14 PM
12-04-2000 01:14 PM
Re: hosts_to_named
Let's look at the hosts information then - is the entry for the unix box (corp - soon to be the DNS server) correct in that example?
I'm thinking it should be:
209.90.236.66 corp.applicatorssales.com corp etc etc
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:16 PM
12-04-2000 01:16 PM
Re: hosts_to_named
1) domainname doesn't return FQDN. It always returns NIS domainname (LAN).
2) hostname returns what is configured in the /etc/hosts as the hostname. It doesn't care for the alias.
I think as of your domain configuration is taken care by your web server.
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:25 PM
12-04-2000 01:25 PM
Re: hosts_to_named
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:29 PM
12-04-2000 01:29 PM
Re: hosts_to_named
The /etc/named.boot will need to be updated that this box is the server and all clients (including the DNS server) will need the entries in /etc/resolv.conf to reflect the IP of the new DNS server that each client is to look to for answers. The /ets/hosts needs to have more info than just itself to create the DNS servers serach list to use with the hosts_to_named.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 01:33 PM
12-04-2000 01:33 PM
Re: hosts_to_named
Sharing the knowledge