- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configurating the primary DNS server
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
04-26-2002 06:06 AM
04-26-2002 06:06 AM
configurating the primary DNS server
I would like to configure the primary DNS server using as a server a workstation 11.0. Is it possible or I have to use a server? I don't have any software about it, is it a problem?
I wouldn't like to use SAM.
I have a list of point to follow and I have got it by a hp manual. Do you have something easier to follow?
Thank for everythink.
P.S Here is Rome and the weather is beatiful.
Have a good day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 06:14 AM
04-26-2002 06:14 AM
Re: configurating the primary DNS server
If you follow the HP's manual it is best. IF you use a workstation as a DNS server, it will be fine , not a problem.
you have to do following
1. Install HP 11.0
2. prepare a host file with all hosts you want to keep in DNS database.
3.run hosts_to_named script with approprite options about domain name (options will contain subdomains and subnets to be included in DNS database)
4.then restart the DNS server using "sig_named restart"
you are all set now.
If you want to install BIND 9.2 then you need to go to isc.org site and download it and follow the installation instructions in the manual provided on site. here is the link for that.
http://www.isc.org/products/BIND/bind9.html
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 06:20 AM
04-26-2002 06:20 AM
Re: configurating the primary DNS server
http://docs.hp.com/hpux/onlinedocs/B2355-90147/B2355-90147.html
Click on configuring primary master name server and all the steps are in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 06:20 AM
04-26-2002 06:20 AM
Re: configurating the primary DNS server
I always download it from www.isc.org
The manuals are good.
http://www.isc.org/products/BIND/bind9.html
HTH
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 07:09 AM
04-26-2002 07:09 AM
Re: configurating the primary DNS server
1. edit /etc/nsswitch.conf file, in the hosts entry, make "dns" first.
2. edit /etc/resolv.conf on all the servers in your domain, specify the IP address of the DNS server, on the DNS server itself, just use 127.0.0.1
3. if you want to resolve not only your local host names, but also the internet ones, get a list of the first level name servers from FTP://RS.INTERNIC.NET, then put it in your /etc/named.data directory, and update your db.cache file accordingly.
and you are ready to go ...
cheers,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2002 07:53 AM
04-26-2002 07:53 AM
Re: configurating the primary DNS server
Couple files involve for primary dns are
1. /etc/named.conf (if you are use bind 4.9.x then it is /etc/named.boot)
2. your map direcoty i.e most probable /var/named.
3. /etc/rc.confing.d/namesvrs (will setup named=1 for boot time startup)
4. /sbin/init.d/named and most probable /etc/rc2.d/S370named which is link to previous.
When you will install the bind it will generates default /etc/named.conf file. You can change the directory option.
I will suggest to buy book
"DNS & BIND from o'reilly"
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 05:36 AM
04-29-2002 05:36 AM
Re: configurating the primary DNS server
I have a big doubt!!
I would like to configure DNS for a internal domain. I don't need it to go out in internet. I need it because I have a lan with many computers and I prefer to configure the DNS instead of updating all the /etc/hosts files.
Is it possible?
I'm not sure about configuring the file:param
After I do :
hosts_to_named -f param
Could you help me please?
Bye...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 05:58 AM
04-29-2002 05:58 AM
Re: configurating the primary DNS server
Start with two computer.
Pick up a system which is going to be your server. Don't touch any other system.
Install bind on that system (we have hp 712 system as dns server for 500 hosts). Copy your current hosts file on /etc.
Say your domain named is xyz.com and your server named is andrea. And you are on 10.15.0.0 network.
Then edit /etc/named.conf file
options {
check-names master ignore;
check-names response ignore;
check-names slave ignore;
directory "/usr/local/named"; #you can change this. This dir will hold your all
database files.
forwarders {
198.6.100.25;
};
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local"; # you can even change this file name.
};
zone "." {
type hint;
file "named.cache"; # you can change this file name too.
};
zone "xyz.com" {
type master;
file "hosts.xyy.com"; # this is your main db file
};
zone "15.10.in-addr.arpa" {
type master;
file "db.10.15"; # this is your reverse look up file
};
Then run hosts_to_named command with options. Your hosts.xyz.com file will looks like this
; hosts.xyz.com
;
$TTL 86400
@ IN SOA andrea.xyz.com. root@xyz.com. (
2375 ; Serial No
21601 ; Refresh every 6 hours
3600 ; Retry 1 hour
1728000 ; Expire 20 days
21600 ) ; Minimum 6 hours
; this two are my servers
IN NS andrea.xyz.com.
IN NS sachin.xyz.com
; this are my normal hosts
localhost IN A 127.0.0.
1achilles IN A 10.15.47.1
adair IN A 10.15.32.20
aggie IN A 10.15.32.41
Then edit your /etc/resolv.conf file
domain xyz.com
nameserver 10.15.1.1 # ip_of andrea
oh yes and don???t forget to start named.
Edit the /etc/nsswitch.conf file to
hosts: dns file
andrea# nslookup andrea (should return proper result with stating that it is from dns)
If all this work then on client you have to change only /etc/nsswitch.conf and /etc/resolv.conf file only.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 06:00 AM
04-29-2002 06:00 AM
Re: configurating the primary DNS server
For an internal network, I wouldn't think you should have to go to all the trouble of setting up DNS. We use the hosts file and a script to copy it to all the servers in our internal net. You need to set up hosts.equiv and .rhosts so that the rcp will work. Simple.
Let me know if you want more info.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 06:12 AM
04-29-2002 06:12 AM
Re: configurating the primary DNS server
Here is some more input
If you are using the script
hosts_to_name
make sure after creating the db file you add the following line on the top of the file
$TTL 86400
or any number depending upon your Time to live
The latest BIND also support the DDNS ( Dynamic DNS) update which work with 11i.
The latest DNS is also supporting IPV6.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 06:14 AM
04-29-2002 06:14 AM
Re: configurating the primary DNS server
Here is some more input
If you are using the script
hosts_to_name
make sure after creating the db file you add the following line on the top of the file if you are using BIND 9.x.x
$TTL 86400
or any number depending upon your Time to live
The latest BIND also support the DDNS ( Dynamic DNS) update which work with 11i.
The latest DNS is also supporting IPV6.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2002 02:57 PM
04-29-2002 02:57 PM
Re: configurating the primary DNS server
do use the option "-r" for your call to "hosts_to_named". Then your DNS server will not even try to contact any other DNS-server if it receives a query for some not-existing name/ip-address...
And for an internal network the HP-UX version of BIND should be sufficient (but get the current patches).
HTH,
Wodisch