[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: connectivité DNS secondaire et transfert de zones impossible



bonjour,

Le Thu, 5 Oct 2017 10:18:18 +0200, Pascal Hambourg a écrit :

> Le 05/10/2017 à 06:37, Etilem a écrit :
> > 
> > bonjour,
> > 
> > après avoir fait, il y a un mois environ, une migration de jessie
> > vers stretch sur deux serveurs DNS,
> > 
> >      - un primaire (dns.etilem.net) et
> >      - un secondaire (ns1.etilem.net),
> > 
> > je rencontre un problème de connectivité du service DNS
> > secondaire.  
> 
> Vu d'ici, depuis deux machines connectées à l'internet par deux FAI 
> différents, l'adresse IPv6 de ns1.etilem.net est injoignable par
> ping6, traceroute6, requête DNS en UDP et TCP.
 

merci pour ce retour circonstancié.

effectivement, le problème se situerait dans la configuration de
l'interface eth0, partie IPv6, j'ai suivi les recommandations de cette
page :

    https://documentation.online.net/fr/dedicated-server/network/ipv6/prefix

j'ai appliqué les 2 premiers points (Configurer le client DHCPv6 +
Démarrage du client DHCPv6 avec SystemD),

j'ai l'impression que 'dhclient' se lance deux fois, voici les éléments
que je peux fournir :

# cat /etc/systemd/system/dhclient.service 
[Unit]
Description=dhclient for sending DUID IPv6
Wants=network.target
Before=network.target

[Service]
Type=forking
ExecStart=/sbin/dhclient -cf /etc/dhcp/dhclient6.conf -6 -P -v eth0

[Install]
WantedBy=multi-user.target

# grep dhclient /var/log/syslog
dhclient[295]: Internet Systems Consortium DHCP Client 4.3.5
dhclient[295]: Copyright 2004-2016 Internet Systems Consortium.
dhclient[295]: All rights reserved.
dhclient[295]: For info, please visit https://www.isc.org/software/dhcp/
dhclient[295]: 
systemd[1]: Starting dhclient for sending DUID IPv6...
dhclient[313]: Internet Systems Consortium DHCP Client 4.3.5
dhclient[313]: Internet Systems Consortium DHCP Client 4.3.5
dhclient[313]: Copyright 2004-2016 Internet Systems Consortium.
dhclient[313]: All rights reserved.
dhclient[313]: For info, please visit https://www.isc.org/software/dhcp/
dhclient[313]: Copyright 2004-2016 Internet Systems Consortium.
dhclient[313]: All rights reserved.
dhclient[313]: For info, please visit https://www.isc.org/software/dhcp/
dhclient[313]: 
dhclient[313]: no link-local IPv6 address for eth0
dhclient[313]: no link-local IPv6 address for eth0
dhclient[313]: If you think you have received this message due to a bug
rather 
dhclient[313]: than a configuration issue please read the section on
submitting 
dhclient[313]: bugs on either our web page at www.isc.org or in the
README file 
dhclient[313]: before submitting a bug.  These pages explain the proper
dhclient[313]: process and the information we find helpful for
debugging.. 
dhclient[313]: exiting. 
dhclient[313]: 
dhclient[313]: If you think you have received this message due to a bug
rather 
dhclient[313]: than a configuration issue please read the section on
submitting 
dhclient[313]: bugs on either our web page at www.isc.org or in the
README file 
dhclient[313]: before submitting a bug.  These pages explain the proper
dhclient[313]: process and the information we find helpful for
debugging.. 
dhclient[313]: 
dhclient[313]: exiting. 
systemd[1]: dhclient.service: Control process exited, code=exited
status=1 
systemd[1]: Failed to start dhclient for sending DUID IPv6.
systemd[1]: dhclient.service: Unit entered failed state. 
systemd[1]: dhclient.service: Failed with result 'exit-code'.
dhclient[295]: Listening on LPF/eth0/xx:xx:xx:xx:xx:xx 
dhclient[295]: Sending on LPF/eth0/xx:xx:xx:xx:xx:xx 
dhclient[295]: Sending on Socket/fallback 
dhclient[295]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval
7 
dhclient[295]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval
19 
dhclient[295]: DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to
255.255.255.255 port 67 
dhclient[295]: DHCPOFFER of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
dhclient[295]: DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
dhclient[295]: bound to xxx.xxx.xxx.xxx -- renewal in 2147483647
seconds.

# cat /etc/network/interfaces
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 static
    address xxxx:xxxx:xxxx:xxxx::1
    netmask 56
    pre-up dhclient -cf /etc/dhcp/dhclient6.conf
    -pf /run/dhclient6.eth0.pid -6 -P eth0
    pre-down dhclient -x -pf /run/dhclient6.eth0.pid

--
Etilem


Reply to: