[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-team] DNS, config local avec registred domain name
Hello
Je suis sur une ligne permanente,
j'ai un nom de domaine enregistre, et je voudrai
configurer mon DNS _local_ en tant que "master local" de ce
domain pour gerer les machine de mon rezo local.
Est-ce que la config qui suit est bonne ? Y a t-il moyen
de l'ameliorer ?
Comment y integrer avec elegance {www,mail}.keysource.be ?
Merci
-----------------------------------------------
/etc/named.conf
/var/named/keysource.be
/vat/named/10.1.1
voici le domaine enregistre :
---------------------------------
> ls -d keysource.be
[ns1.dad.be]
$ORIGIN keysource.be.
@ 1D IN SOA ns1.dad.be. lips\@dad.be. (
2000021701 ; serial
3H ; refresh
1H ; retry
1w1d ; expiry
1D ) ; minimum
1D IN NS ns1.dad.be.
1D IN NS ns2.dad.be.
1D IN MX 10 www
mail 1D IN CNAME www
localhost 1D IN A 127.0.0.1
www 1D IN A 194.78.47.21
@ 1D IN SOA ns1.dad.be. lips\@dad.be. (
2000021701 ; serial
3H ; refresh
1H ; retry
1w1d ; expiry
1D ) ; minimum
---------------------------------
/etc/named.conf
---------------------------------
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "keysource.be" {
notify no;
type master;
file "keysource.be";
};
zone "1.1.10.in-addr.arpa" {
notify no;
type master;
file "10.1.1";
};
forward first;
forwarders {
212.68.193.30;
195.238.2.21;
};
-----------------------------------------------
/var/named/keysource.be
-----------------------------------------------
@ IN SOA ns.keysource.be. asx.keysource.be. (
199802151 ; serial, todays date + todays
serial #
8H ; refresh, seconds
2H ; retry, seconds
1W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns ; Inet Address of name server
MX 10 mail.keysource.be. ; Primary Mail
Exchanger
;
localhost A 127.0.0.1
ns A 10.1.1.12
mail A 10.1.1.12
kafka A 10.1.1.12
vivaldi A 10.1.1.4
duncan A 10.1.1.71
daryl A 10.1.1.66
-----------------------------------------------
/var/named/1.1.10
-----------------------------------------------
@ IN SOA ns.keysource.be. asx.keysource.be. (
199802151 ; Serial, todays date + todays serial
8H ; Refresh
2H ; Retry
1W ; Expire
1D) ; Minimum TTL
NS ns.keysource.be.
4 PTR vivaldi
12 PTR ns
12 PTR kafka
12 PTR mail
66 PTR duncan
69 PTR daryl
--
Linux : May the sources be with you !
KeyLinux
Alain Spineux
Linux System Engineer
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/