• [^] # Re: nom de domaine de recherche dans /etc/resolv.conf

    Posté par . En réponse au message Serveur DNS, pb de résolution sans nom du domaine. Évalué à 1.

    Merci du retour.

    Ca ne donne toujours rien (j'ai relancé le service au cas où j'avais oublié de le faire avant) :

     [root@dnsmaster ~]# cat /etc/resolv.conf 
     # Generated by NetworkManager
     search sphenclust.local
     nameserver 10.0.0.5
     # No nameservers found; try putting DNS servers into your
     # ifcfg files in /etc/sysconfig/network-scripts like so:
     #
     # DNS1=xxx.xxx.xxx.xxx
     # DNS2=xxx.xxx.xxx.xxx
     # DOMAIN=lab.foo.com bar.foo.com
     [root@dnsmaster ~]# dig pxe
     ; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7 <<>> pxe
     ;; global options: +cmd
     ;; Got answer:
     ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 21336
     ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
     ;; WARNING: recursion requested but not available
     ;; OPT PSEUDOSECTION:
     ; EDNS: version: 0, flags:; udp: 4096
     ;; QUESTION SECTION:
     ;pxe. IN A
     ;; Query time: 0 msec
     ;; SERVER: 10.0.0.5#53(10.0.0.5)
     ;; WHEN: mar. août 18 11:15:48 CEST 2015
     ;; MSG SIZE rcvd: 32
     [root@dnsmaster ~]# dig pxe.sphenclust.local
     ; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7 <<>> pxe.sphenclust.local
     ;; global options: +cmd
     ;; Got answer:
     ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3713
     ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
     ;; WARNING: recursion requested but not available
     ;; OPT PSEUDOSECTION:
     ; EDNS: version: 0, flags:; udp: 4096
     ;; QUESTION SECTION:
     ;pxe.sphenclust.local. IN A
     ;; ANSWER SECTION:
     pxe.sphenclust.local. 86400 IN A 10.0.0.4
     ;; AUTHORITY SECTION:
     sphenclust.local. 86400 IN NS dnsmaster.sphenclust.local.
     ;; ADDITIONAL SECTION:
     dnsmaster.sphenclust.local. 86400 IN A 10.0.0.5
     ;; Query time: 0 msec
     ;; SERVER: 10.0.0.5#53(10.0.0.5)
     ;; WHEN: mar. août 18 11:15:56 CEST 2015
     ;; MSG SIZE rcvd: 105
     [root@dnsmaster ~]# 

    Un souci dans les fichiers de conf peut être ?