- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- DNS server : named configuration
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
11-16-2004 03:28 AM
11-16-2004 03:28 AM
DNS server : named configuration
I've installed a local network (C class).
But I don't know how to configure in Linux PC-based a local hostname resolver.
By telnet and ftp command, I've not any problem ... but when I try "host" command I receive the following message:
"unresolved hostname"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 05:06 AM
11-16-2004 05:06 AM
Re: DNS server : named configuration
for instance the command:
echo 10.0.0.1 pcname >> /etc/hosts
willallow you to access pcname by it's hostname.
You can always configure DNS ,but it requires some documents reading first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 06:54 PM
11-16-2004 06:54 PM
Re: DNS server : named configuration
But the problem is not resolved.
#### /etc/hosts example -----------------
192.168.100.4 remotehost
192.168.100.15 localhost
#### ------------------------------------
Which is the error ?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 07:31 PM
11-16-2004 07:31 PM
Re: DNS server : named configuration
Make sure the primary ip address matches.
Also, for /etc/hosts name resolution to work the host resolution line in /etc/nsswtich.conf must include files. It can just be dns.
Check that and you should be able to resolve this.
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
11-16-2004 09:33 PM
11-16-2004 09:33 PM
Re: DNS server : named configuration
>192.168.100.15 localhost
so your situation is :
from localhost to remotehost your can ping/telnet/ftp by IP but not by name?
Which error message do you see when "ping remotehost"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 09:37 PM
11-16-2004 09:37 PM
Re: DNS server : named configuration
"connection timeout,, host unreachable"
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2004 10:05 PM
11-16-2004 10:05 PM
Re: DNS server : named configuration
AFAIK
"host", "dig" works with DNS only and don't know to use /etc/hosts and NIS.
So you situation is OK.
Now you have two ways to support your boxes with up-to-date hosts table - to distribute /etc/hosts from "master" server using rsync/rcp/scp/... or using NIS.