We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Bind problem z dodaniem domeny


borec
26-10-2014, 16:11
W starym managerze jest w konfiguracji dns, w nowym chyba jeszcze nie ma.

rebrov
26-10-2014, 13:33
nie dodałem rekordów glue u rejestratora - domenę mam wykupioną w OVH ale nie mogę odszukać takiej opcji - gdzie ona dokładnie jest i co wpisać w te rekordy.

borec
26-10-2014, 09:52
Port 53 to port dns. A dodałeś rekordy glue u rejestratora? Bo masz dnsy w obrębie tej samej domeny.

rebrov
25-10-2014, 19:39
host moja_domena.pl 11.111.11.111

Kod:
Using domain server:
Name: 11.111.11.111
Address: 11.111.11.111#53
Aliases:

moja_domena.pl has address 11.111.11.111
co to z tym portem 53 ?

borec
25-10-2014, 14:38
A co mówi:
Kod:
host moja_domena.pl ip.mojego.serwera
?

rebrov
25-10-2014, 09:38
mam domenę

Kod:
dig @127.0.0.1 moja_domena.pl

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @127.0.0.1 moja_domena.pl
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14637
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;moja_domena.pl.               IN      A

;; ANSWER SECTION:
moja_domena.pl.        43200   IN      A       11.111.11.111

;; AUTHORITY SECTION:
moja_domena.pl.        43200   IN      NS      ns1.moja_domena.pl.
moja_domena.pl.        43200   IN      NS      ns2.moja_domena.pl.

;; ADDITIONAL SECTION:
ns1.moja_domena.pl.    43200   IN      A       11.111.11.111
ns2.moja_domena.pl.    43200   IN      A       11.111.11.111

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 24 13:11:10 2014
;; MSG SIZE  rcvd: 117
ping moja_domena.pl - działa dobrze wskazuje na mój serwer

Kod:
PING moja_domena.pl (11.111.11.111) 56(84) bytes of data.
64 bytes from moja_domena.pl (11.111.11.111): icmp_req=1 ttl=64 time=0.047 ms
64 bytes from moja_domena.pl (11.111.11.111): icmp_req=2 ttl=64 time=0.042 ms
^C
problem jednak jest

Kod:
host moja_domena.pl
Host moja_domena.pl not found: 3(NXDOMAIN)
moje pliki konfiguracyjne

Kod:
/etc/bind/named.conf.options

options {
        directory "/etc/bind";
        allow-query-cache { none; };
        allow-query { any; };
        recursion no;
        version "najnowsza";
};
Kod:
cat /etc/bind/moja_domena.pl

 
$ORIGIN moja_domena.pl.
$TTL    12h
@       IN      SOA     ns1 dnsmaster 2014102401 09h 5m 10d 1h
        IN      NS      ns1
        IN      NS      ns2
        IN      A       11.111.11.111  -> IP mojego serwera
*       IN      A       11.111.11.111
Kod:
cat /etc/bind/named.conf.default-zones


// 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 "moja_domena.pl" {
        type master;
        file "moja_domena.pl";
        allow-transfer { none; };
};