Servidor DNS

1. Servidor DNS

Alan Juliano Metzger
meguelito

(usa Nenhuma)

Enviado em 30/06/2008 - 13:41h

Boa Tarde galera eu não sou muito iniciante mas também não sou mestre igual alguns, mas to com um problema eu queria que quando eu digitasse o dominio.com.br da minha empresa o DNS respondesse, porém ele só pinga quando coloco www.dominio.com.br eu já fui em vários tutos e não consegui nada, abaixo mando minhas conf para vocês darem uma olhada e me dizer quem pode me ajudar.

---- Inicio Named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

key "rndc-key" {
algorithm hmac-md5;
secret "hCLCXTfGouwaCnoe1RJtaw==";
};

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

// 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";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";
----- Fim Named.conf

----- Ini Named.conf.local
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "insidesystem.com.br" {
type master;
file "insidesystem.com.br.zone";
allow-query { any; };
//allow-transfer { transfer; };
};

zone "63.61.175.200.in-addr.arpa" {
type master;
file "insidesystem.com.br.revzone2";
allow-query { any; };
//allow-transfer { transfer; };
};
----- Fim Named.conf.local

----- Ini insidesystem.com.br.zone
$TTL 3600
insidesystem.com.br. IN SOA ns1.insidesystem.com.br. root.insidesystem.com.br. (
200606201 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum TTL

; dns
@ IN NS ns1.insidesystem.com.br.
@ IN NS ns2.insidesystem.com.br.

; maquinas
localhost IN A 127.0.0.1
ns1 IN A 200.175.61.63
ns2 IN A 200.175.182.139
;pop IN A 200.215.28.4
ias-infra IN A 192.168.0.4
ias-middle IN A 192.168.0.5
@ IN A 200.175.61.63

; aliases
;www IN CNAME @
;webserver IN CNAME @
;web IN CNAME @
;mail IN CNAME @
;www IN CNAME @
;webmail IN CNAME @
;ftp IN CNAME @
;prd IN CNAME @
;;pop IN CNAME @
;;smtp IN CNAME @


; aliases
www IN CNAME www.insidesystem.com.br.
webserver IN CNAME www.insidesystem.com.br.
web IN CNAME insidesystem.com.br.
mail IN CNAME mail.insidesystem.com.br.
webmail IN CNAME webmail.insidesystem.com.br.
ftp IN CNAME ftp.insidesystem.com.br.
prd IN CNAME prd.insidesystem.com.br.
;pop IN CNAME @
;smtp IN CNAME @

; MX Record
@ IN MX 10 mail.insidesystem.com.br.
----- Fim insidesystem.com.br.zone

----- Ini insidesystem.com.br.revzone2
$TTL 3600
63.61.175.200.in-addr.arpa. IN SOA ns1.insidesystem.com.br. root.insidesystem.com.br. (
200606201 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum TTL
@ IN NS www.insidesystem.com.br.
@ IN PTR webserver.insidesystem.com.br.
@ IN PTR ftp.insidesystem.com.br.
@ IN PTR www.insidesystem.com.br.
@ IN PTR mail.insidesystem.com.br.
@ IN PTR web.insidesystem.com.br.
@ IN PTR prd.insidesystem.com.br.
----- Fim insidesystem.com.br.revzone2

Att.:
Alan Juliano Metzger


  


2. Re: Servidor DNS

Marcos Evandro Algeri
marcosalgeri

(usa Slackware)

Enviado em 30/06/2008 - 20:24h

Amigo,

Você já está declarando o que precisa.

@ IN A 200.175.61.63

Verifique nos logs do sistema se há algum outro erro.




3. Sugestão

Felipe
lipecys

(usa Debian)

Enviado em 01/07/2008 - 16:49h

Posso estar falando bobagem, mas eu ao invés de colocar o cname como você:

www IN CNAME WWW.insidesystem.com.br.

coloco:

www IN CNAME NS1.insidesystem.com.br.

e assim com todos os outros cnames.


tenta aí.

Abraço.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts