[H-GEN] DNS setup Help and assistance sought.
gwhite
gwhite at star.brisnet.org.au
Tue May 22 06:00:20 EDT 2001
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]
Salutations to all.
I'm setting up a webserver with virtual hosts and and DNS servers.
Could someone give me some feed back about the way I've got it set up.
I have include the apropriate files below. Some of them don't look to
good to me and any help offered would be greatly apriciated.
Greg White
/etc/hosts
127.0.0.1 localhost localhost.localdomain
209.61.188.146 server1.Veruska.net server1
/etc/hosts.conf
order hosts,bind # Could someone tell me what the commer is for. I
though a space would do.
multi on
/etc/resolv.conf
domain Veruska.net
nameserver 64.39.2.170 # Should put the IP of this box here as it is the
NS.
nameserver 64.39.2.138 # These would be the ns's of the company who
rents us the box.
***************************************************************************
********
/etc/httpd/conf/named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "byroninter.net" {
type master;
file "/var/named/byroninter.net.hosts";
};
zone "veruska.net" {
type master;
file "/var/named/veruska.net.hosts";
};
zone "byronconcerts.com" {
type master;
file "/var/named/byronconcerts.com.hosts";
};
/* I'm thinking that this looks OK but are there any omissions?
Mistakes? */
/var/named/named.local
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
/var/named/byronconcerts.com.hosts
byronconcerts.com. IN SOA server1.Veruska.net.
gwhite.star.brisnet.org.au. (
990326074
10800
3600
432000
38400 )
byronconcerts.com. IN NS server1.Veruska.net.
byronconcerts.com. IN NS ns2.byronconcerts.com.
byronconcerts.com. IN A 209.61.188.146
ns1.byronconcerts.com. IN A 209.61.188.146
ns2.byronconcerts.com. IN A 209.61.188.146
www.byronconcerts.com. IN CNAME byronconcerts.com.
ns.byronconcerts.com. IN NS byronconcerts.com
// Probably one to many NS here. Help here would be good. Please!
/var/named/byroninter.net.hosts
byroninter.net. IN SOA server1.Veruska.net.
gwhite.brisnet.org.au. (
990306154
10800
3600
432000
38400 )
byroninter.net. IN NS server1.Veruska.net.
byroninter.net. IN NS ns2.byroninter.net.
byroninter.net. IN A 209.61.188.146
ns1.byroninter.net. IN A 209.61.188.146
ns2.byroninter.net. IN A 209.61.188.146
www.byroninter.net. IN CNAME byroninter.net.
ns.byroninter.net. IN NS byroninter.net.
/var/named/varuska.net.hosts
veruska.net. IN SOA server1.Veruska.net.
gwhite.star.brisnet.org.au. (
990322841
10800
3600
432000
38400 )
veruska.net. IN NS server1.Veruska.net.
veruska.net. IN NS ns2.veruska.net.
veruska.net. IN A 209.61.188.146
www.veruska.net. IN CNAME server1.veruska.net.
ns.veruska.net. IN A 209.61.188.146
ns2.veruska.net. IN A 209.61.188.146
ns.veruska.net. IN NS veruska.net.
There is a /var/named/named.ca
*************************************************************
Pleas help if you can I would really appreciate any assistance.
Kind Regards
Greg White
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list