DNS interno [RESOLVIDO]

1. DNS interno [RESOLVIDO]

Joao Eduardo dos Santos
eduardo_jst

(usa Slackware)

Enviado em 18/10/2010 - 11:24h

Bom dia criei uma dns interna mas nao funciona, alguem pode me ajudar, dizer onde estou errando.

segue os arq conf.



srvnetmogi:~# less /etc/bind/named.conf
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 "gm.in-addr.arp" {
type master;
file "/etc/bind/br.gm.com";
};
zone "vdfg.br.gm.com" {
type master;
file "/etc/bind/db.vdfg.br.gm.com";
};

zone "br.gm.com" {
type master;
file "/etc/bind/db.gm";
};

include "/etc/bind/named.conf.local";
(END)



cat db.vdfg.br.gm.com



$ORIGIN vdfg.br.gm.com.
$TTL 7200
@ IN SOA vdfg.br.gm.com. postmaster.vdfg.br.gm.com.
{
2010051132 ; Serial (yyyymmddss)
10800 ; Refresh
3600 ; Retry
86400 ; Expire
86400 ; TTL Minimum
}
IN NS ns1.vdfg.br.gm.com.
IN MX 5 mail.vdfg.br.gm.com.
IN A 10.2.111.150
IN TXT "v=spf1 a mx -all"
;
;

@ IN A 10.2.111.150
@ IN A 192.168.10.200
mail01 IN A 192.168.10.117
www IN CNAME vdfg.br.gm.com.
/etc/bind/db.vdfg.br.gm.com (END)



cat db.gm

$ORIGIN br.gm.com.
$TTL 7200
@ IN SOA br.gm.com. postmaster.br.gm.com. (
2010051111 ; Serial (yyyymmddss)
10800 ; Refresh
3600 ; Retry
86400 ; Expire
86400 ; TTL Minimum
)
IN NS ns1.br.gm.com.
IN MX 5 mail.br.gm.com.
IN A 10.2.111.150
IN TXT "v=spf1 a mx -all"
;
;

ns1 IN A 10.2.111.150
brsbags01 IN A 192.168.10.120
brsbvds1 IN A 192.168.10.200
www.warranty IN CNAME brsbvds1
www.vdfg IN CNAME brsbvds1
/etc/bind/db.gm (END)







srvnetmogi:~# dig @10.2.111.150 vdfg.br.gm.com soa

; <<>> DiG 9.6-ESV-R1 <<>> @10.2.111.150 vdfg.br.gm.com soa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 61254
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;vdfg.br.gm.com. IN SOA

;; Query time: 0 msec
;; SERVER: 10.2.111.150#53(10.2.111.150)
;; WHEN: Mon Oct 18 11:18:58 2010
;; MSG SIZE rcvd: 32

srvnetmogi:~#



srvnetmogi:~# dig @10.2.111.150 brsbags01.br.gm.com soa

; <<>> DiG 9.6-ESV-R1 <<>> @10.2.111.150 brsbags01.br.gm.com soa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12765
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;brsbags01.br.gm.com. IN SOA

;; AUTHORITY SECTION:
br.gm.com. 7200 IN SOA br.gm.com. postmaster.br.gm.com. 2010051111 10800 3600 86400 86400

;; Query time: 1 msec
;; SERVER: 10.2.111.150#53(10.2.111.150)
;; WHEN: Mon Oct 18 11:20:09 2010
;; MSG SIZE rcvd: 84

srvnetmogi:~#




  


2. Re: DNS interno [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 18/10/2010 - 13:09h

Vc testou os parâmetros com o comando "named-checkconf"?


3. Re: DNS interno [RESOLVIDO]

Magno Lima
magnolinux

(usa Debian)

Enviado em 18/10/2010 - 13:44h

o seu problema está no arquivo named.conf ou nas zonas de configuração....???


4. DNS

Joao Eduardo dos Santos
eduardo_jst

(usa Slackware)

Enviado em 18/10/2010 - 15:53h

entao, eu executei o named-checonf, mas nao me retornou erro nenhum.


5. DNS

Joao Eduardo dos Santos
eduardo_jst

(usa Slackware)

Enviado em 18/10/2010 - 15:58h

Boa tarde magnolinux, na DNS interna, ela nao funciona,

como eu disse, passei o named-checkconf e o nao volta erro,

e quando ping srvnetmogi.intranet me retorna a seguinte mensagemÇ

ping: unknown host srvnetmogi.intranet

ou se for no browser e digitar tambem.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts