Hi...all of you there
I have tried to set up a DNS server please correct me if i am wrong but some
where along the HOW_TO I am confused I am adding the main files please
correct the main files please this will be a great acomplishment as i had
spent a whole day to read an i am not used to readind I go paranoid
THANKS
------------------------------------
FILE 1) /etc/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 "lowen.net"{
notify no;
type master;
file "lowen.net";
};
zone "." {
type hint;
file "named.ca";
};
zone "196.168.192.in-addr.arpa" {
notify no;
type master;
file "named.local_net";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
----------------------------
FILE 2) /var/named/lowen.net
-------------------------------
_;
; Zone file for linux.bogus
;
; The full zone file
;
@ IN SOA www.lowen.net. lister.lowen.net. (
1999092601 ; serial, todays date + todays serial#
8H ; refresh, seconds
2H ; retry, seconds
1W ; expire, seconds
1D ) ; minimum, seconds
;
NS www. ; Inet Address of name server
MX 10 mail.lowen.net. ; Primary Mail Exchanger
MX 20 mail.friend.net. ; Secondary Mail Exchanger
;
TXT "Lowen Net, your DNS consultants"
NS www ; Inet Address of name server
NS www.friend.net
MX 10 mail ; Primary Mail Exchanger
MX 20 mail.friend.net. ; Secondary Mail Exchanger
localhost A 127.0.0.1
gw A 192.168.196.1
HINFO "Cisco" "IOS"
TXT "The router"
ns A 192.168.196.2
MX 10 mail
MX 20 mail.friend.net.
HINFO "Pentium" "Linux 2.0"
www CNAME www
donald A 192.168.196.3
MX 10 mail
MX 20 mail.friend.net.
HINFO "i486" "Linux 2.0"
TXT "DEK"
mail A 192.168.196.4
MX 10 mail
MX 20 mail.friend.net.
HINFO "386sx" "Linux 1.2"
ftp A 192.168.196.5
MX 10 mail
MX 20 mail.friend.net.
HINFO "P6" "Linux 2.1.86"
---------------------------------
FILE 3) /var/named/named.local_net
-------------------------------------
@ IN SOA www.lowen.net. lister.lowenv.net. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.lowen.net.
1 IN PTR localhost.
--------------------------------------
FILE 4)
--------------------------------
127.0.0.1 localhost.localdomain www
----------------------------------
Whewh !!!
I HOPE THIS IS ENOUGH
I do not have a domain name but i would like to set up a temporary one till i
am on the net
regards
self
P.S.
Please add your Remarks Whatever
--------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.