View Single Post
  #1  
Old 12th December 2007, 15:48
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Default Perfect setup Debian Etch ISPConfig - DNS Server

Hello Falko,
I have just installed the DNS server as described in step 9. Unfortunately the command "host-a debian" gives me this (see below):
debian:~# host -a debian
Trying "debian.dpi-arobasetelecom.ci"
Trying "debian"
Host debian not found: 3(NXDOMAIN)
Received 99 bytes from 192.168.2.1#53 in 0 ms
debian:~# host -a debian.dpi-arobasetelecom.ci
Trying "debian.dpi-arobasetelecom.ci"
Host debian.dpi-arobasetelecom.ci not found: 2(SERVFAIL)
Received 46 bytes from 192.168.2.1#53 in 0 ms
debian:~#

How do I settle the problem or what command replaces "host-a debian" for permit me to know that my DNS works.

Thanks more for your concern

PS: These are the configuration informations :
debian:~# hostname
debian.dpi-arobasetelecom.ci
debian:~# hostname -f
debian.dpi-arobasetelecom.ci
debian:~#

named.conf.local

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";
};

resolv.conf

# generated by NetworkManager, do not edit!
search dpi-arobasetelecom.ci
nameserver 192.168.2.1

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


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.
Reply With Quote
Sponsored Links