Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Résolution DNS ?

2 réponses
Avatar
JKB
Bonjour à tous,

Un truc bizarre avec une debian/sparc... J'ai installé un DNS local
configuré correctement. Mon fichier host ne contient rien et toutes
les résolutions se font au travers du DNS local.

Root bohr:[/etc/bind] > ps auwx | grep named
bind 31191 0.0 0.3 15776 3328 ? Ss 19:14 0:00
/usr/sbin/named -u bind
bind 31192 0.0 0.3 15776 3328 ? S 19:14 0:00
/usr/sbin/named -u bind
bind 31193 0.0 0.3 15776 3328 ? S 19:14 0:00
/usr/sbin/named -u bind
bind 31194 0.0 0.3 15776 3328 ? S 19:14 0:00
/usr/sbin/named -u bind
bind 31195 0.0 0.3 15776 3328 ? S 19:14 0:00
/usr/sbin/named -u bind
bind 31196 0.0 0.3 15776 3328 ? S 19:14 0:00
/usr/sbin/named -u bind
root 31387 0.0 0.0 3424 952 pts/6 S+ 19:22 0:00 grep
named
Root bohr:[/etc/bind] > host cvs
cvs.systella.fr is an alias for rayleigh.systella.fr.
rayleigh.systella.fr has address 213.41.184.253
cvs.systella.fr is an alias for rayleigh.systella.fr.
cvs.systella.fr is an alias for rayleigh.systella.fr.
Root bohr:[/etc/bind] > Root bohr:[/etc/bind] > ping cvs
PING bohr.systella.fr (213.41.140.153): 56 data bytes
64 bytes from 213.41.140.153: icmp_seq=0 ttl=64 time=0.3 ms
64 bytes from 213.41.140.153: icmp_seq=1 ttl=64 time=0.2 ms

--- bohr.systella.fr ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.2/0.2/0.3 ms
Root bohr:[/etc/bind] > /etc/init.d/bind9 stop
Stopping domain name service...:.
Root bohr:[/etc/bind] > ping cvs
PING bohr.systella.fr (213.41.140.153): 56 data bytes
64 bytes from 213.41.140.153: icmp_seq=0 ttl=64 time=0.3 ms

--- bohr.systella.fr ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.3 ms
Root bohr:[/etc/bind] > host cvs
;; connection timed out; no servers could be reached
Root bohr:[/etc/bind] >

Question : sachant que le DNS est boen inactif, comment cette
résolution (locale) peut-elle se faire ? Pour info :

Root bohr:[/etc/bind] > cat /etc/hosts
127.0.0.1 localhost

# Serveurs
213.41.140.153 bohr.systella.fr bohr
192.168.0.128 lagrange.systella.fr lagrange
Root bohr:[/etc/bind] > cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: compat files
group: compat files
shadow: compat files

hosts: files dns
networks: files dns

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
Root bohr:[/etc/bind] >

Une idée, parce que je sèche...

Cordialement,

JKB

2 réponses

Avatar
JKB
Le 09-03-2006, à propos de
Résolution DNS ?,

Laissez tomber... Promis, j'arrête la boisson, j'avais un nscd qui
tournait :-(

JKB
Avatar
zoot
Je suggere de mettre
#

logfile /var/adm/nscd.log
enable-cache hosts no

dans /etc/nscd.conf !!
A++