- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS Server
Operating System - HP-UX
1823399
Members
2542
Online
109655
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
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
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
тАО08-04-2007 05:50 PM
тАО08-04-2007 05:50 PM
Hi ....
i do not know if somebody of you could help me to understand the concept of what is a DNS server ....
i have saw this file into resolv.conf, etc ....
please let me know.
thanks.
i do not know if somebody of you could help me to understand the concept of what is a DNS server ....
i have saw this file into resolv.conf, etc ....
please let me know.
thanks.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2007 05:55 PM
тАО08-04-2007 05:55 PM
Solution
Here is the quick guide for you ref.
How do I configure a DNS primary server, secondary server or
client?
1. Make sure your /etc/hosts file is complete and ALL hostnames are
fully qualified. Host "seau" would be "seau.chargers.nfl.com".
2. Edit /etc/resolv.conf
domain chargers.nfl.com
nameserver 169.18.224.15 #This machine!!!!!
2. mkdir /etc/named.data
3. cd /etc/named.data
4. vi param
-d chargers.nfl.com
-n 169.18.224
-n 192.6.16
-b /etc/named.boot
==================
param file options
==================
-d domain we're authoritative for
-n network number that we're going to build a map for
-b name of the named boot file
-r to be a root server (most internal servers are not root servers)
Notice that the -d option matches the domain line in
/etc/resolv.conf, which matches the domain portion
of the fully qualified domain name of this host.
5. hosts_to_named -f param
6. vi /etc/rc.config.d/namesvrs and set NAMED=1. Leave NAMED_ARGS alone.
7. run named manually
/sbin/init.d/named start
CONFIGURING A SECONDARY NAMESERVER
==================================
1. Create a separate directory for the database and configuration files:
a. mkdir /etc/named.data
b. chmod 755 /etc/named.data
2. Copy the boot.sec, boot.sec.save, db.127.0.0 files from the primary server:
ftp
OR
rcp
3. Copy db.[net] and db.[domain] files if you want local storage:
ftp
OR
rcp
4. Copy boot.sec or boot.sec.save to /etc/named.boot to create a boot
file for named:
cp /etc/named.data/boot.sec /etc/named.boot
5. Create db.cache and specify the primary server:
vi /etc/named.data/db.cache
6. Edit /etc/rc.config.d/namesvrs:
vi /etc/rc.config.d/namesvrs
CHANGE:
NAMED=0
NAMED_ARGS=""
TO:
NAMED=1
NAMED_ARGS=""
7. Create /etc/resolv.conf:
vi /etc/resolv.conf
domain chargers.nfl.com
nameserver 169.18.224.18 #This machine!!!
nameserver 169.18.224.15 #The primary server !!!
8. Start named manually. Reboot is not needed.
/sbin/init.d/named start
9. Check if the name server is known:
nslookup
Do not run hosts_to_named again. hosts_to_named is not designed
to create secondary servers or cache-only server.
--------------------------------------------
How to Set Up a DNS Client
All you have to do is create the /etc/resolv.conf file and update the
/etc/nsswitch.conf file.
vi /etc/resolv.conf:
domain hp.com
nameserver 15.100.100.1 #list your nameservers
nameserver 15.200.100.254
vi /etc/nsswitch.conf entry for hosts:
hosts: dns [NOTFOUND=continue RETURN=continue UNAVAILABLE=continue] files
services: nis files
protocols: nis files
networks: nis files
rpc: nis files
netgroup: nis files
aliases: nis files
How do I configure a DNS primary server, secondary server or
client?
1. Make sure your /etc/hosts file is complete and ALL hostnames are
fully qualified. Host "seau" would be "seau.chargers.nfl.com".
2. Edit /etc/resolv.conf
domain chargers.nfl.com
nameserver 169.18.224.15 #This machine!!!!!
2. mkdir /etc/named.data
3. cd /etc/named.data
4. vi param
-d chargers.nfl.com
-n 169.18.224
-n 192.6.16
-b /etc/named.boot
==================
param file options
==================
-d domain we're authoritative for
-n network number that we're going to build a map for
-b name of the named boot file
-r to be a root server (most internal servers are not root servers)
Notice that the -d option matches the domain line in
/etc/resolv.conf, which matches the domain portion
of the fully qualified domain name of this host.
5. hosts_to_named -f param
6. vi /etc/rc.config.d/namesvrs and set NAMED=1. Leave NAMED_ARGS alone.
7. run named manually
/sbin/init.d/named start
CONFIGURING A SECONDARY NAMESERVER
==================================
1. Create a separate directory for the database and configuration files:
a. mkdir /etc/named.data
b. chmod 755 /etc/named.data
2. Copy the boot.sec, boot.sec.save, db.127.0.0 files from the primary server:
ftp
OR
rcp
3. Copy db.[net] and db.[domain] files if you want local storage:
ftp
OR
rcp
4. Copy boot.sec or boot.sec.save to /etc/named.boot to create a boot
file for named:
cp /etc/named.data/boot.sec /etc/named.boot
5. Create db.cache and specify the primary server:
vi /etc/named.data/db.cache
6. Edit /etc/rc.config.d/namesvrs:
vi /etc/rc.config.d/namesvrs
CHANGE:
NAMED=0
NAMED_ARGS=""
TO:
NAMED=1
NAMED_ARGS=""
7. Create /etc/resolv.conf:
vi /etc/resolv.conf
domain chargers.nfl.com
nameserver 169.18.224.18 #This machine!!!
nameserver 169.18.224.15 #The primary server !!!
8. Start named manually. Reboot is not needed.
/sbin/init.d/named start
9. Check if the name server is known:
nslookup
Do not run hosts_to_named again. hosts_to_named is not designed
to create secondary servers or cache-only server.
--------------------------------------------
How to Set Up a DNS Client
All you have to do is create the /etc/resolv.conf file and update the
/etc/nsswitch.conf file.
vi /etc/resolv.conf:
domain hp.com
nameserver 15.100.100.1 #list your nameservers
nameserver 15.200.100.254
vi /etc/nsswitch.conf entry for hosts:
hosts: dns [NOTFOUND=continue RETURN=continue UNAVAILABLE=continue] files
services: nis files
protocols: nis files
networks: nis files
rpc: nis files
netgroup: nis files
aliases: nis files
Good Luck..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2007 09:00 PM
тАО08-04-2007 09:00 PM
Re: DNS Server
Shalom,
On a most basic level a DNS server converts internet names to numbers.
machines are good at numbers, and people are good at names.
www.nds.com resolves to a numeric ip address which lets the computer to connect to it.
/etc/resolv.conf controls the servers a system uses to get name to number information.
SEP
On a most basic level a DNS server converts internet names to numbers.
machines are good at numbers, and people are good at names.
www.nds.com resolves to a numeric ip address which lets the computer to connect to it.
/etc/resolv.conf controls the servers a system uses to get name to number information.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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