- dns erro :|
+ Responder ao Tópico
-
dns erro :|
nslookup: Couldn´t find server ´127,0,0,1´: Name or service not known
SAca so ...... depois de configurei me dominio pra rede interna nao ta dando certo o coamdno nslookup <IMG SRC="images/forum/icons/icon_mad.gif">
Meu server tem comom nome nopp.nophz.lnx dae criei um /var/named/nophz.lnx com isso dentro :
$TTL 43200
@ IN SOA nopp.nophz.lnx. root.localhost.localdomain. (
2002121509 ; serial
1H ; refresh
15 ; retry
14D ; expire
12H ; default_ttl
)
nopp IN A 192.168.7.10
www IN CNAME nopp.nophz.lnx.
ftp IN CNAME nopp.nophz.lnx.
pop IN CNAME nopp.nophz.lnx.
smtp IN CNAME nopp.nophz.lnx.
@ IN MX 5 nopp.nophz.lnx.
@ IN NS nopp.nophz.lnx.
@ IN A 192.168.7.10
E tambem fiz um /var/named/192.168.7 com isso dentro:
TTL 43200
@ IN SOA nopp.nophz.lnx. root.localhost.localdomain. (
2002121505 ; serial
1H ; refresh
15 ; retry
14D ; expire
12H ; default_ttl
)
@ IN NS nopp.nophz.lnx.
1 IN PTR nopp.nophz.lnx.
E dai no named.conf colokei nofim do conf assim:
options {
directory "/var/named";
/*
* 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 "nophz.lnx" IN {
type master;
file "nophz.lnx";
allow-update { none; };
};
zone "7.168,192.in-addr.arpa" IN {
type master;
file "192.168.7";
allow-update { none; };
};
Que sera que esta dando ?
-
dns erro :|
heheeh agora deu mas da esse erro:
root@nopp:/etc# nslookup 192.168.7.10
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig´ or `host´ programs instead. Run nslookup with
the `-sil[ent]´ option to prevent this message from appearing.
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can´t find 10.7.168.192.in-addr.arpa: NXDOMAIN
O que sera que esta dando ?
-
dns erro :|
vc inverteu a ordem dos registros...
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>
$TTL 43200
@ IN SOA nopp.nophz.lnx. root.localhost.localdomain. (
2002121509 ; serial
1H ; refresh
15 ; retry
14D ; expire
12H ; default_ttl
);
@ IN NS nopp.nophz.lnx.
@ IN MX 5 nopp.nophz.lnx.
nopp IN A 192.168.7.10
www IN CNAME nopp.nophz.lnx.
ftp IN CNAME nopp.nophz.lnx.
pop IN CNAME nopp.nophz.lnx.
smtp IN CNAME nopp.nophz.lnx.
</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE>
-
dns erro :|
vc tambem pode digitar o seguinte comando para ver se o teu dominio esta ok .
dig dominio.com.br