View Single Post
  #16  
Old 26th December 2007, 21:50
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Unhappy

Hello Falko,
These are the output and the content of the differents configuration files.

debian:~# dig @localhost debian.dpi-arobasetelecom.ci

; <<>> DiG 9.3.4 <<>> @localhost debian.dpi-arobasetelecom.ci
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4689
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;debian.dpi-arobasetelecom.ci. IN A

;; Query time: 25 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Dec 26 19:45:35 2007
;; MSG SIZE rcvd: 46

debian:~# cat /etc/bind/named.conf.local
//
// Do any local configuration here
//
zone "dpi-arobasetelecom.ci" {
type master;
file "/var/lib/named/var/cache/bind/db.dpi";
};

zone "2.168.192.in-addr.arpa" {
type master;
file "/var/lib/named/var/cache/bind/db.192";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

debian:~#
debian:~# cat /var/lib/named/var/cache/bind/db.dpi
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA debian.dpi-arobasetelecom.ci. root.dpi-arobasetelecom.ci. (
2007121201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS debian.dpi-arobasetelecom.ci.
@ IN MX 10 mail.dpi-arobasetelecom.ci.

debian IN A 192.168.2.1

mail IN CNAME debian
www IN CNAME debian
ftp IN CNAME debian
sql IN CNAME debian
crm IN CNAME debian
wkg IN CNAME debian
debian:~#
debian:~# cat /var/lib/named/var/cache/bind/db.192
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA debian.dpi-arobasetelecom.ci. root.dpi-arobasetelecom.ci. (
2007121201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS debian.dpi-arobasetelecom.ci.

1 IN PTR debian.dpi-arobasetelecom.ci.
debian:~#

Thanks more for your help.
Reply With Quote