Bonjour,
Sur mon serveur dédié Kimsuffi j'ai un serveur DNS BIND9
j'ai déjà configuré mon domaine whita.net. Je veux ajouter un sous domaine yuni.whita.net. Ce sous domaine aura une configuration complexe et du coup j'aimerais pouvoir le mettre dans un nouveau fichier de conf
Pour se faire, j'ai créé dans le domaine parent whita.net deux enregistrements NS
yuni IN NS 37.187.124.182
yuni IN NS 2001:41d0:a:f5b6::1
L'Ip est celle du serveur kimsuffi hébergeant Bind
Dans le fichier de configuration named.conf.local j'ai ajouté :
zone "yuni.whita.net" {
type master;
file "/etc/bind/XXXX/XXXXX";
allow-transfer {213.186.33.199; 2001:41d0:3:1c7::1; };
also-notify {213.186.33.199; 2001:41d0:3:1c7::1; };
allow-query { any; };
notify yes;
allow-update { none; }; // Since this is the primary DNS, it shou one.
};
Le serveur DNS Secondaire et celui de kimsuffi
Mon fichier de configuration de zone est :
; ZONE : yuni.whita.net.
; ------------------------------------------------------------------------------
$TTL 7200
@ IN SOA ns1.whita.net. baptiste.bordas.ws. (
2020120201 ; Serial
86400 ; Refresh (1 jour)
7200 ; Retry (2 heures)
1209600 ; Expire - 2 week
172800 ) ; Minimumv(2 jour)
; NAMESERVERS
NS ns1.whita.net.
NS ns2.whita.net. ;point on the kimsuffi dns server
; HOSTNAME CLASS RECORD TYPE VALUE
; ------------------------------------------------------------------------------
A 51.255.163.74
* IN A 51.255.163.74
AAAA 2001:41d0:302:2000:0:0:0:13ae
* IN AAAA 2001:41d0:302:2000:0:0:0:13ae
; SECTION DNSSEC pour plus tard
; Enregistrement MX (Mail Exchanger)
MX 10 yuni.whita.net.
; CAA Security
CAA 0 issue "letsencrypt.org"
CAA 0 issuewild ";"
CAA 0 iodef "mailto:baptiste@bordas.ws"
; CNAME
muc IN CNAME yuni.whita.net.
pubsub IN CNAME yuni.whita.net.
vjud IN CNAME yuni.whita.net.
xmpp-upload IN CNAME yuni.whita.net.
ftp IN CNAME yuni.whita.net.
; Enregistrement OVH dns secondair
ownercheck IN TXT "5dd4b578"
_xmpp-client._tcp IN SRV 0 5 5222 yuni.whita.net.
_xmpp-server._tcp IN SRV 0 5 5269 yuni.whita.net.
TXT "v=spf1 a mx -all"
mail._domainkey IN TXT "v=DKIM1; h=sha256; k=rsa; p=trestreslongueclémasqué"
_dmarc IN TXT "v=DMARC1; p=none"
Malheureusement lorsque je vérifie mon sous domaine via certain site j'ai une erreur :
SOA record check No nameservers provided an SOA record for the zone.
You should configure your nameservers to have a master slave relationship. The update of the zone information to the slave nameservers should be handled through the SOA record.
Si quelqu'un a une idée, je suis preneur, une piste ou autre....
Merci par avance,
BBO