Tirso
(usa CentOS)
Enviado em 01/12/2014 - 13:36h
Eu contratei um Cloud Server com o Linux CentOS 6.5 na Locaweb, criei um DNS próprio no servidor utilizando o Bind, aparentemente deu tudo certo, mas qdo. coloco o DNS criado no site
https://manage.opensrs.net ele me dá uma mensagem de erro: "Unable to update nameservers: Nameserver [ns1.meudominio.com] doesn't exist at the registry". Eu preciso muito que alguem me auxilie neste problema. Os dados para a criação do DNS são:
[root@cpro24518 ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=cpro12345
[root@cpro12345 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
177.153.7.213 ns1.meudominio.com cpro12345
[root@cpro12345 ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search meudominio.com
nameserver 177.153.7.213
[root@cpro12345 ~]# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 177.153.7.213; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
zone "multpost.com" IN {
type master;
file "/var/named/meudominio.zone.db";
};
zone "7.153.177.in-addr.arpa" IN {
type master;
file "/var/named/reverse.7.153.177";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
[root@cpro12345 ~]# cat /var/named/meudominio.zone.db
$ORIGIN meudominio.com.
$TTL 1H
meudominio.com. IN SOA ns1.meudominio.com. root.meudominio.com. (
2014120101; serial
12H ; refresh
1H ; retry
1W ; expire
6H ) ; minimum
;
IN NS ns1.meudominio.com.
;
ns1.meudominio.com. IN A 177.153.7.213
www IN A 177.153.7.213
cpro12345 IN A 177.153.7.213
[root@cpro12345 ~]# cat /var/named/reverse.7.153.177
$TTL 1H
7.153.177.in-addr.arpa. IN SOA ns1.meudominio.com. root.meudominio.com. (
2014120101; serial
12H ; refresh
1H ; retry
1W ; expire
6H ) ; minimum
;
7.153.177.in-addr.arpa. IN NS ns1.meudominio.com.
;
213.7.153.177.in-addr.arpa. IN PTR ns1.meudominio.com.
213.7.153.177.in-addr.arpa. IN PTR
www.meudominio.com.
[root@cpro12345 ~]# nslookup
> ns1.meudominio.com
Server: 177.153.7.213
Address: 177.153.7.213#53
Name: ns1.meudominio.com
Address: 177.153.7.213
> 177.153.7.213
Server: 177.153.7.213
Address: 177.153.7.213#53
213.7.153.177.in-addr.arpa name = ns1.meudominio.com.
213.7.153.177.in-addr.arpa name =
www.meudominio.com.
[root@cpro12345 ~]# dig
www.meudominio.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6 <<>>
www.meudominio.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14813
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;
www.meudominio.com. IN A
;; ANSWER SECTION:
www.meudominio.com. 3600 IN A 177.153.7.213
;; AUTHORITY SECTION:
meudominio.com. 3600 IN NS ns1.meudominio.com.
;; ADDITIONAL SECTION:
ns1.meudominio.com. 3600 IN A 177.153.7.213
;; Query time: 1 msec
;; SERVER: 177.153.7.213#53(177.153.7.213)
;; WHEN: Mon Dec 1 12:50:38 2014
;; MSG SIZE rcvd: 84
Obrigado...