[Linux-31] pb dns

Joyce MARKOLL joyce.markoll at gmx.fr
Mar 21 Avr 17:38:22 CEST 2015


As-tu regardé /etc/hosts ?


On Tue, 21 Apr 2015 16:32:39 +0200
pti-jean <jm.mongt at gmail.com> wrote:

> Bonjour,
> 
> Pourquoi ma résolution de nom ne s'effectue pas ???
> 
> $ ping yono.local
> ping: unknown host yono.local
> 
> alors que:
> $ nslookup yono.local
> Server:         127.0.1.1
> Address:        127.0.1.1#53
> 
> Name:   yono.local
> Address: 192.168.1.119
> 
> 
> que:
> $ dig yono.local
> 
> ; <<>> DiG 9.9.5-3ubuntu0.2-Ubuntu <<>> yono.local
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61774
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;yono.local.                    IN      A
> 
> ;; ANSWER SECTION:
> yono.local.             0       IN      A       192.168.1.119
> 
> ;; Query time: 1 msec
> ;; SERVER: 127.0.1.1#53(127.0.1.1)
> ;; WHEN: Tue Apr 21 16:30:43 CEST 2015
> ;; MSG SIZE  rcvd: 44
> 
> 
> et que:
> $ ping 192.168.1.119
> PING 192.168.1.119 (192.168.1.119) 56(84) bytes of data.
> 64 bytes from 192.168.1.119: icmp_seq=1 ttl=64 time=0.401 ms
> 64 bytes from 192.168.1.119: icmp_seq=2 ttl=64 time=0.346 ms
> 64 bytes from 192.168.1.119: icmp_seq=3 ttl=64 time=0.335 ms
> 
> Une idée ???
> 
> JM
> _______________________________________________
> Linux-31 mailing list
> Linux-31 at culte.org
> http://culte.org/mailman/listinfo/linux-31


-- 




Plus d'informations sur la liste de diffusion Linux-31