Re: bind9 probleme resolution nom -> ip

2003-04-17 Par sujet Stephane Chausson
d'après named.conf, bind est configuré en "forward only"
or il semble que le domaine bruley.org soit un domaine local et donc
inconnu des serveurs dns de wanadoo ( 193.252.19.{3,4} )

stephane

[EMAIL PROTECTED] wrote:

>bonjour,
>
>je galère avec bind9. Lorsque je fais un nslookup avec n'importe quelle IP, 
>c'est nickel. Mais pour les noms ... rien !
>Je n'ai comme réponse que : 
>
>
>** serveur can't find jarod.bruley.org: NXDOMAIN
>
>
>Il prend bien le bon serveur sur le serveur lui-meme et sur un client linux et 
>un autre win$$$. Sur le serveur lui-meme 127.0.0.1 (serv et @) sur un client 
>serveur:jarod.bruley.org et en @ 192.168.1.1
>
>je vois vraiment d'où cela peut venir :((
>
>Si c'est déjà arrivé à quelqu'un ou si on deux trois tuyaux 
>(au fait je sors tout juste d'une l'install de la 3.0r0 en stable)
>
>Merci de tout aide 
>
>Régis
>
>
>-
>
>// named.conf
>
>
>// This is the primary configuration file for the BIND DNS server named.
>//
>// Please read /usr/share/doc/bind/README.Debian for information on the 
>// structure of BIND configuration files in Debian for BIND versions 8.2.1 
>// and later, *BEFORE* you customize this configuration file.
>//
>
>
>// secret must be the same as in /etc/rndc.conf 
>key "rndc-key" {
>   algorithm hmac-md5;
>   secret "MLyAP93rIPzgo9tMa+lTWw==";
>};
> 
>controls { 
>inet 127.0.0.1 port 953
>   allow { 127.0.0.1; } keys { "rndc-key"; };
>
>}; 
>
>
>options {
>directory "/var/cache/bind";
>
>// If there is a firewall between you and nameservers you want
>// to talk to, you might need to uncomment the query-source
>// directive below.  Previous versions of BIND always asked
>// questions using port 53, but BIND 8.1 and later use an unprivileged
>// port by default.
>
>query-source address * port 53;
>
>   // If your ISP provided one or more IP addresses for stable 
>   // nameservers, you probably want to use them as forwarders.  
>   // Uncomment the following block, and insert the addresses replacing 
>   // the all-0's placeholder.
>
>   forward only;
>
>   forwarders {
>   193.252.19.3;
>   193.252.19.4;
>   };
>};
>
>// reduce log verbosity on issues outside our control
>logging {
>   category "unmatched" { "null"; };
>   category "default" {"default_syslog"; "default_debug";};
>   category lame-servers { null; };
>   category cname { null; };
>};
>
>// prime the server with knowledge of the root servers
>zone "." {
>type hint;
>file "/etc/bind/db.root";
>};
>
>// be authoritative for the localhost forward and reverse zones, and for
>// broadcast zones as per RFC 1912
>
>zone "localhost" {
>type master;
>file "/etc/bind/db.local";
>};
>
>zone "127.in-addr.arpa" {
>type master;
>file "/etc/bind/db.127";
>};
>
>zone "0.in-addr.arpa" {
>type master;
>file "/etc/bind/db.0";
>};
>
>zone "255.in-addr.arpa" {
>type master;
>file "/etc/bind/db.255";
>};
>
>// add entries for other zones below here
>
>zone "1.168.192.in-addr.arpa" {
>type master;
>file "/etc/bind/db.192";
>   forwarders{};
>};
>
>zone "bruley.org.in-addr.arpa" {
>type master;
>file "/etc/bind/db.bruley.org";
>   forwarders{};
>};
>
>
>
>-
>
>; db.192
>;
>; resolution inverse 
>
>$TTL604800
>@   IN  SOA jarod.bruley.org.  root.bruley.org. (
>   1 ; Serial
>   604800 ; Refresh
>86400 ; Retry
>  2419200 ; Expire
>   604800 )   ; Negative Cache TTL
>;
>@   IN  NS  localhost.
>1   IN  PTR jarod.bruley.org.
>11  IN  PTR tati.bruley.org.
>
>
>
>-
>
>; db.bruley.org
>;
>;
>;
>$TTL   604800
>@INSOAjarod.bruley.org.root.bruley.org. (
>270306 ; serial
>3600   ; refresh
>900; retry
>1209600; expire
>43200  ; default_ttl
>)
>
>;
>;
>;
>
>@INA192.168.1.1
>IN NSjarod
>IN NSjarod.bruley.org.
>
>;
>
>INMX10jarod
>INMX20jarod.bruley.org.
>
>jarodINA192.168.1.1
>tatiINA192.168.1.11
>
>localhost   INA127.0.0.1
>
>
>www CNAMEjarod
>ftp CNAMEjarod
>mailCNAMEjarod
>imap   CNAMEjarod
>popCNAMEjarod
>
>
>-
>NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, 
>Toolbar...
>Web/Wap : www.netcourrier.com
>Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
>Minitel: 3615 NETCOURRIER (0,15 € TTC/min)
>
>
>  

Re: bind9 probleme resolution nom -> ip

2003-04-16 Par sujet Momo
Ca serait bien de nous rajouter une petite copie de ton named.conf ainsi que
le fichier de zone pour bruley.org ...
Ca nous permettrait d'y voir plus clair 
Momo

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Thursday, April 17, 2003 1:44 AM
Subject: bind9 probleme resolution nom -> ip


bonjour,

je galère avec bind9. Lorsque je fais un nslookup avec n'importe quelle IP,
c'est nickel. Mais pour les noms ... rien !
Je n'ai comme réponse que :


** serveur can't find jarod.bruley.org: NXDOMAIN


Il prend bien le bon serveur sur le serveur lui-meme et sur un client linux
et un autre win$$$. Sur le serveur lui-meme 127.0.0.1 (serv et @) sur un
client serveur:jarod.bruley.org et en @ 192.168.1.1

je vois vraiment d'où cela peut venir :((

Si c'est déjà arrivé à quelqu'un ou si on deux trois tuyaux 
(au fait je sors tout juste d'une l'install de la 3.0r0 en stable)

Merci de tout aide 

Régis


-

// named.conf


// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//


// secret must be the same as in /etc/rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "MLyAP93rIPzgo9tMa+lTWw==";
};

controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };

};


options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below.  Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an
unprivileged
// port by default.

query-source address * port 53;

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

forward only;

forwarders {
193.252.19.3;
193.252.19.4;
};
};

// reduce log verbosity on issues outside our control
logging {
category "unmatched" { "null"; };
category "default" {"default_syslog"; "default_debug";};
category lame-servers { null; };
category cname { null; };
};

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// add entries for other zones below here

zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
forwarders{};
};

zone "bruley.org.in-addr.arpa" {
type master;
file "/etc/bind/db.bruley.org";
forwarders{};
};



-

; db.192
;
; resolution inverse

$TTL604800
@   IN  SOA jarod.bruley.org.  root.bruley.org. (
   1 ; Serial
   604800 ; Refresh
86400 ; Retry
  2419200 ; Expire
   604800 )   ; Negative Cache TTL
;
@   IN  NS  localhost.
1   IN  PTR jarod.bruley.org.
11  IN  PTR tati.bruley.org.



-

; db.bruley.org
;
;
;
$TTL 604800
@INSOAjarod.bruley.org.root.bruley.org. (
270306 ; serial
3600   ; refresh
900; retry
1209600; expire
43200  ; default_ttl
)

;
;
;

@INA192.168.1.1
IN NSjarod
IN NSjarod.bruley.org.

;

INMX10jarod
INMX20jarod.bruley.org.

jarodINA192.168.1.1
tati INA 192.168.1.11

localhost   INA127.0.0.1


www CNAMEjarod
ftp CNAMEjarod
mailCNAMEjarod
imap CNAME jarod
pop CNAME jarod


-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs,
Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 ? TTC/min)
Minitel: 3615 NETCOURRIER (0,15 ? TTC/min)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]




Re: bind9 probleme resolution nom -> ip

2003-04-16 Par sujet Frédéric Bothamy
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2003-04-16 23:44] :
> bonjour,
> 
> je galère avec bind9. Lorsque je fais un nslookup avec n'importe quelle IP, 
> c'est nickel. Mais pour les noms ... rien !
> Je n'ai comme réponse que : 
> 
> 
> ** serveur can't find jarod.bruley.org: NXDOMAIN

[...]

> // add entries for other zones below here
> 
> zone "1.168.192.in-addr.arpa" {
> type master;
> file "/etc/bind/db.192";
>   forwarders{};
> };
> 
> zone "bruley.org.in-addr.arpa" {
> type master;
> file "/etc/bind/db.bruley.org";
>   forwarders{};
> };

Je crois que cette définition de zone ne corrrespond pas à ce que tu veux
faire : pour définir la zone de bruley.org, il faut que l'entrée soit définie
avec le nom de la zone, i.e., ce sera :

zone "bruley.org" {
type master;
file "/etc/bind/db.bruley.org";
forwarders{};
};

Les extensions en .in-addr.arpa ne sont utilisées que pour faire la
correspondance inverse : IP -> nom de machine et c'est donc normal que ceci
fonctionne.

En espérant ne pas dire trop de bêtise (ça fait un bail que j'ai configuré un
serveur BIND 8.x, mais d'après les fichiers de conf, cela semble être cela)

Fred

-- 
LA FAQ DUF ? http://savannah.nongnu.org/download/debfr-faq/html/



Re: bind9 probleme resolution nom -> ip

2003-04-16 Par sujet Sébastien GALLET

[EMAIL PROTECTED] a écrit:


bonjour,


salut



je galère avec bind9. Lorsque je fais un nslookup avec n'importe quelle IP, 
c'est nickel. Mais pour les noms ... rien !
Je n'ai comme réponse que : 



** serveur can't find jarod.bruley.org: NXDOMAIN


Il prend bien le bon serveur sur le serveur lui-meme et sur un client linux et 
un autre win$$$. Sur le serveur lui-meme 127.0.0.1 (serv et @) sur un client 
serveur:jarod.bruley.org et en @ 192.168.1.1

je vois vraiment d'où cela peut venir :((

Si c'est déjà arrivé à quelqu'un ou si on deux trois tuyaux 
(au fait je sors tout juste d'une l'install de la 3.0r0 en stable)

Merci de tout aide 

Régis


-

// named.conf


// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the 
// structure of BIND configuration files in Debian for BIND versions 8.2.1 
// and later, *BEFORE* you customize this configuration file.

//


// secret must be the same as in /etc/rndc.conf 
key "rndc-key" {

algorithm hmac-md5;
secret "MLyAP93rIPzgo9tMa+lTWw==";
};

controls { 
   inet 127.0.0.1 port 953

allow { 127.0.0.1; } keys { "rndc-key"; };

}; 



options {
   directory "/var/cache/bind";

   // If there is a firewall between you and nameservers you want
   // to talk to, you might need to uncomment the query-source
   // directive below.  Previous versions of BIND always asked
   // questions using port 53, but BIND 8.1 and later use an unprivileged
   // port by default.

   query-source address * port 53;

	// If your ISP provided one or more IP addresses for stable 
	// nameservers, you probably want to use them as forwarders.  
	// Uncomment the following block, and insert the addresses replacing 
	// the all-0's placeholder.


forward only;

forwarders {
193.252.19.3;
193.252.19.4;
};
};

// reduce log verbosity on issues outside our control
logging {
category "unmatched" { "null"; };
category "default" {"default_syslog"; "default_debug";};
category lame-servers { null; };
category cname { null; };
};

// prime the server with knowledge of the root servers
zone "." {
   type hint;
   file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
   type master;
   file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
   type master;
   file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
   type master;
   file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
   type master;
   file "/etc/bind/db.255";
};

// add entries for other zones below here

zone "1.168.192.in-addr.arpa" {
   type master;
   file "/etc/bind/db.192";
forwarders{};
};

zone "bruley.org.in-addr.arpa" {


^^
in-addr.arpa permet de spécifier une zone inverse. Tu n'en a donc pas 
besoin ici

zone "bruley.org" suffira


   type master;
   file "/etc/bind/db.bruley.org";
forwarders{};
};

 



-

; db.192
;
; resolution inverse 


$TTL604800
@   IN  SOA jarod.bruley.org.  root.bruley.org. (
1 ; Serial
  604800 ; Refresh
   86400 ; Retry
 2419200 ; Expire
  604800 )   ; Negative Cache TTL
;
@   IN  NS  localhost.
1   IN  PTR jarod.bruley.org.
11  IN  PTR tati.bruley.org.



-

; db.bruley.org
;
;
;
$TTL604800
@INSOAjarod.bruley.org.root.bruley.org. (
   270306 ; serial
   3600   ; refresh
   900; retry
   1209600; expire
   43200  ; default_ttl
)

;
;
;

@INA192.168.1.1
   IN NSjarod
   IN NSjarod.bruley.org.


jarod = jarod.bruley.org. !!! pq le mettre 2 fois



;

   INMX10jarod
   INMX20jarod.bruley.org.


idem !!!



jarodINA192.168.1.1
tati INA192.168.1.11

localhost   INA127.0.0.1


www CNAMEjarod
ftp CNAMEjarod
mailCNAMEjarod
imapCNAMEjarod
pop CNAMEjarod


-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


 






bind9 probleme resolution nom -> ip

2003-04-16 Par sujet debian-regis
bonjour,

je galère avec bind9. Lorsque je fais un nslookup avec n'importe quelle IP, 
c'est nickel. Mais pour les noms ... rien !
Je n'ai comme réponse que : 


** serveur can't find jarod.bruley.org: NXDOMAIN


Il prend bien le bon serveur sur le serveur lui-meme et sur un client linux et 
un autre win$$$. Sur le serveur lui-meme 127.0.0.1 (serv et @) sur un client 
serveur:jarod.bruley.org et en @ 192.168.1.1

je vois vraiment d'où cela peut venir :((

Si c'est déjà arrivé à quelqu'un ou si on deux trois tuyaux 
(au fait je sors tout juste d'une l'install de la 3.0r0 en stable)

Merci de tout aide 

Régis


-

// named.conf


// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the 
// structure of BIND configuration files in Debian for BIND versions 8.2.1 
// and later, *BEFORE* you customize this configuration file.
//


// secret must be the same as in /etc/rndc.conf 
key "rndc-key" {
algorithm hmac-md5;
secret "MLyAP93rIPzgo9tMa+lTWw==";
};
 
controls { 
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };

}; 


options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below.  Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.

query-source address * port 53;

// If your ISP provided one or more IP addresses for stable 
// nameservers, you probably want to use them as forwarders.  
// Uncomment the following block, and insert the addresses replacing 
// the all-0's placeholder.

forward only;

forwarders {
193.252.19.3;
193.252.19.4;
};
};

// reduce log verbosity on issues outside our control
logging {
category "unmatched" { "null"; };
category "default" {"default_syslog"; "default_debug";};
category lame-servers { null; };
category cname { null; };
};

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// add entries for other zones below here

zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
forwarders{};
};

zone "bruley.org.in-addr.arpa" {
type master;
file "/etc/bind/db.bruley.org";
forwarders{};
};



-

; db.192
;
; resolution inverse 

$TTL604800
@   IN  SOA jarod.bruley.org.  root.bruley.org. (
1 ; Serial
   604800 ; Refresh
86400 ; Retry
  2419200 ; Expire
   604800 )   ; Negative Cache TTL
;
@   IN  NS  localhost.
1   IN  PTR jarod.bruley.org.
11  IN  PTR tati.bruley.org.



-

; db.bruley.org
;
;
;
$TTL604800
@INSOAjarod.bruley.org.root.bruley.org. (
270306 ; serial
3600   ; refresh
900; retry
1209600; expire
43200  ; default_ttl
)

;
;
;

@INA192.168.1.1
IN NSjarod
IN NSjarod.bruley.org.

;

INMX10jarod
INMX20jarod.bruley.org.

jarodINA192.168.1.1
tati INA192.168.1.11

localhost   INA127.0.0.1


www CNAMEjarod
ftp CNAMEjarod
mailCNAMEjarod
imapCNAMEjarod
pop CNAMEjarod


-
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)