Je suis en train de configurer mon DNS, mais je reçois des erreurs dans : tail -f /var/sys/log. J'ai configuré une adresse IP statique dans les réseaux : 192.168.10.1
May 11 18:13:54 s180368 named[3582]: command channel listening on ::1#953
May 11 18:13:54 s180368 named[3582]: managed-keys-zone: loaded serial 2
May 11 18:13:54 s180368 named[3582]: zone 0.in-addr.arpa/IN: loaded serial 1
May 11 18:13:54 s180368 named[3582]: zone 127.in-addr.arpa/IN: loaded serial 1
May 11 18:13:54 s180368 named[3582]: zone s180368.com/IN: has no NS records
May 11 18:13:54 s180368 named[3582]: zone s180368.com/IN: not loaded due to errors.
May 11 18:13:54 s180368 named[3582]: zone localhost/IN: loaded serial 2
May 11 18:13:54 s180368 named[3582]: zone 255.in-addr.arpa/IN: loaded serial 1
May 11 18:13:54 s180368 named[3582]: all zones loaded
May 11 18:13:54 s180368 named[3582]: running
Il s'agit de mon fichier de zone de transmission (db.s180368.com) :
;
$TTL 604800
@ IN SOA ns.s180368.com. root.s180368.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
ns IN NS 192.168.10.1
@ IN A 127.0.0.1
Named.conf.local :
#FORWARD LOOKUP ZONE
zone "s180368.com" {
type master;
file "/etc/bind/db.s180368.com";
};
/etc/hosts :
127.0.0.1 localhost
127.0.1.1 server
192.168.10.1 s180368.com s180368
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
/etc/resolv.conf
nameserver 127.0.0.1
search s180368.com