Pessoal,
Estou tentando configurar o named, mas estou com problema logo no
localhost alguem pode me ajudar ?
Bom o meu host atual é dgtbl.dti.digitro.com.br e eu quero configurar o
named nele
dgtbl:/var/log# nslookup -sil localhost
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find localhost.: NXDOMAIN
help me :P
named.conf
// Config file for caching only name server
options {
directory "/etc/bind";
// Uncommenting this might help if you have to go through a
// firewall and things are not working out:
// query-source address * port 53;
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
};
Arquivo de zon a 127.0.0
IN SOA dgtbl.dti.digitro.com.br
[EMAIL PROTECTED] (
10 ; Serial
9H ; Refresh
2H ; Retry
1W ; Expire
1D ) ; Minimum TTL
NS ns.dgtbl.dti.digitro.com.br
1 PTR localhost.
syslog
Oct 24 09:41:00 dgtbl named[3470]: starting (/etc/bind/named.conf).
named 8.2.4-REL-NOESW Fri Jun 1 01:18:38 MDT 2001
[EMAIL PROTECTED]:/usr/local/src/Packages/bind/bind-8.2.4/src/bin/named
Oct 24 09:41:00 dgtbl named[3470]: hint zone "" (IN) loaded (serial 0)
Oct 24 09:41:00 dgtbl named[3470]: Zone "0.0.127.in-addr.arpa" (file
127.0.0): No default TTL ($TTL <value>) set, using SOA minimum instead
Oct 24 09:41:00 dgtbl named[3470]: master zone "0.0.127.in-addr.arpa"
(IN) loaded (serial 10)
Oct 24 09:41:00 dgtbl named[3470]: listening on [127.0.0.1].53 (lo)
Oct 24 09:41:00 dgtbl named[3470]: listening on [192.168.161.86].53 (eth0)
Oct 24 09:41:00 dgtbl named[3470]: Forwarding source address is
[0.0.0.0].1573
Oct 24 09:41:00 dgtbl named[3471]: Ready to answer queries.