dns e bind slackware

1. dns e bind slackware

Bruno Lino dos Santos
brunoL.

(usa Debian)

Enviado em 28/01/2009 - 12:29h

amigos por favor me ajudem analizem onde esta o erro nos meus scripts

este é o HOSTNAME

bruno.studio.net

hosts

# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#

# For loopbacking.
127.0.0.1 localhost
# This next entry is technically wrong, but good enough to get TCP/IP apps
# to quit complaining that they can't verify the hostname on a loopback-only
# Linux box.
192.168.254.1 bruno.studio.net bruno

# End of hosts.


networks

# networks This file describes a number of netname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
#

loopback 127.0.0.0
studio.net 192.168.254.0

# End of networks.


resolv.conf


search studio.net
nameserver 192.168.254.1


named.conf


options {
directory "/var/named";
version "PROTECT";
allow-transfer {192.168.254.2;};
listen-on (127.0.0.1; 192.168.254.1;};
allow-recursion {127.0.0.1; localhost; 192.168.254.0/24;};

/*
* 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 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "caching-example/named.ca";
};

zone "localhost" IN {
type master;
file "caching-example/localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};

zone "254.168.192.in-addr.arpa" IN {
type master;
file caching-example/domain.rev";
allow-transfer { 192.168.254.2; };
};

zone "studio.net" IN {
type master;
file "caching-example/studio.host";
allow-transfer { 192.168.254.2; };

};


domain.rev


$TTL 86400
$ORIGIN studio.net.
254.168.192.in-addr.arpa IN SOA bruno.studio.net. root.bruno.studio.net. (
2004101901 ; Serial de sincronização
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

NS dns.studio.net.



1 IN PTR ftp
1 IN PTR www
2 IN PTR dns2
1 IN PTR smtp



studio.host


$TTL 86400

@ IN SOA bruno.studio.net. root.bruno.studio.net. (
2004101901 ;Serial de sincronização
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

NS dns.studio.net.
IN MX 10 studio.net.

localhost IN A 127.0.0.1
slacks.com.br. IN A 192.168.254.2
dns IN A 192.168.254.2
dns2 IN A 192.168.254.1
www IN A 192.168.254.2
ftp IN A 192.168.254.2
mail IN CNAME studio.net.
pop IN CNAME studio.net.
router IN A 192.168.254.2


e este é o erro do bind que dá quabdo eu starto


root@bruno:~# /etc/rc.d/rc.bind start
Starting BIND: /usr/sbin/named
WARNING: named did not start.
Attempting to start named again: /usr/sbin/named
FAILED: Sorry, a second attempt to start named has also failed.
There may be a configuration error that needs fixing. Good luck!


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts