Project

General

Profile

Anomalie #3149

Test DNS en erreur sur la livebox \o/

Added by Emmanuel GARETTE about 11 years ago. Updated almost 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
03/22/2012
Due date:
% Done:

100%

Estimated time:
0.75 h
Spent time:
Distribution:
EOLE 2.3

Description

#/usr/bin/host -W 1 -t google.fr 192.168.1.1
Using domain server:
Name: 192.168.1.1
Address: 192.168.1.1#53
Aliases: 

google.fr has address 173.194.67.94
Host google.fr.xxxxxxxxxxxx not found: 4(NOTIMP)
google.fr mail is handled by 10 google.com.s9a2.psmtp.com.
google.fr mail is handled by 10 google.com.s9b1.psmtp.com.
google.fr mail is handled by 10 google.com.s9b2.psmtp.com.
google.fr mail is handled by 10 google.com.s9a1.psmtp.com.

#echo $?
1

Le NOTIMP vient de :

 35.471822  192.168.1.6 -> 192.168.1.1  DNS Standard query AAAA google.fr.xxxxxxxxxxxxxxxx
 35.473760  192.168.1.1 -> 192.168.1.6  DNS Standard query response, Not implemented

Le DNS de la livebox envoi des erreurs "Not implemented" à chaque appel DNS IPv6, et la commande hosts interprète cela comme une erreur.

Je propose de change le test par :

/usr/bin/host -W 1 -t A google.fr 192.168.1.1

Associated revisions

Revision 608c8074 (diff)
Added by Joël Cuissinat almost 11 years ago

Amélioration du test des DNS
  • FonctionsEoleNg : modifications de l'appel à "host"
    Fixes #3149 @25m

History

#1 Updated by Joël Cuissinat about 11 years ago

  • Status changed from Nouveau to Accepté
  • Target version set to Mises à jour 2.3.5 RC
  • Estimated time set to 0.75 h

Vérifier au passage les agents Zéphir et les sctipts susceptibles d'effectuer des tests similaires.

#2 Updated by Joël Cuissinat almost 11 years ago

  • Project changed from eole-dns to creole

#3 Updated by Joël Cuissinat almost 11 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat almost 11 years ago

  • Assigned To set to Joël Cuissinat

J'en ai profité pour passer le timeout (option : -W) de une à deux secondes.

#5 Updated by Joël Cuissinat almost 11 years ago

Nb : l'agent Zéphir (web.py) utilise la fonction python socket.gethostbyname()

#6 Updated by Bruno Boiget almost 11 years ago

  • Status changed from Résolu to Fermé

test modifié dans 2.3.5 RC

Also available in: Atom PDF