Toon posts:

[Bind-dns9]Zone niet authoritive

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik zit met een klein probleempje:

Ik heb een url geregd en wil daar mijn eigen nameservers ook op gaan draaien. Prima leuk aardig enz

Ik doe via de domeincheck van sidn een check of de nameservers goed werken:
code:
1
2
3
4
5
6
7
8
9
10
11
errors=2, warnings=0, informational=0 

* domein hostingfx.nl. 

* nameserver ns1.hostingfx.nl./81.17.46.189 

E server is niet 'authoritative' voor hostingfx.nl. 

* nameserver ns2.hostingfx.nl./81.17.46.190 

E server is niet 'authoritative' voor hostingfx.nl.



Leuk...Ok we searchen ff:

zone "eendomein.nl" {
type master;
file "zonefile.zone";
};

maak dat ervan in je named.conf. Gedaan, restart van named. En hij blijft het fout doen...

mijn zonefile:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$ttl 38400
hostingfx.nl.   IN  SOA hostingfx.nl. r\.vandegeijn.chello.nl. (
            1043942568
            10800
            3600
            604800
            38400 )
hostingfx.nl.   IN  NS  81.17.46.189
sander.hostingfx.nl.    IN  A   81.17.46.190
mail.hostingfx.nl.  IN  MX  20 hostingfx.nl
sander.hostingfx.nl.    IN  RP  "r\.vandegeijn.chello.nl." sander
hostingfx.hostingfx.nl. IN  LOC Amsterdam, Telecity
hostingfx.nl.   IN  NS  81.17.46.190
hostingfx.nl.   IN  HINFO   AMD Redhat8
mail.hostingfx. IN  A   81.17.46.189
ns1.hostingfx.nl.   IN  A   81.17.46.189
ns2.hostingfx.nl.   IN  A   81.17.46.190
hostingfx.nl.   IN  NS  ns1.hostingfx.nl.
hostingfx.nl.   IN  NS  ns2.hostingfx.nl.


Ik zal wel weer een domme fout hebben gemaakt aangezien ik nog niet superthuis ben in de dns, maar ik kwam er nu ff niet meer uit....

Dit is wel een testserver, in de dns van de providers staan veiligheidshalve nog even de dns'en van de degene die het domein heeft geregistreerd. Dit om te voorkomen dat ik over een paar dagen niet te bereiken ben

[ Voor 19% gewijzigd door Verwijderd op 30-01-2003 19:39 ]


  • localhost
  • Registratie: November 1999
  • Niet online

localhost

Ook in geel, groen, paars, wit

Wijzigen:
hostingfx.nl. IN SOA ns1.hostingfx.nl.

Toevoegen:
ns1.hostingfx.nl. IN NS 81.17.46.189
ns2.hostingfx.nl. IN NS 81.17.46.190

Verwijderen:
hostingfx.nl. IN NS 81.17.46.189

Verwijderd

Topicstarter
/var/log/messages:
Jan 30 19:59:42 ****** named[25549]: dns_rdata_fromtext: /etc/hostingfx.nl.hosts:12: unexpected token
Jan 30 19:59:42 ******* named[25549]: zone hostingfx.nl/IN: loading master file /etc/hostingfx.nl.hosts: unexpected token
Jan 30 19:59:42 rentserver named[25549]: running

Ik kan de code alleen niet vinden...

nog een keer voor de volledigheid:

named.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
options {
        directory "/etc";
        pid-file "/var/run/named/named.pid";
        };

zone "." {
        type hint;
        file "/etc/db.cache";
        };


zone "hostingfx.nl" {
        type master;
        file "/etc/hostingfx.nl.hosts";
        };


en de /etc/hostingfx.nl.hosts

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$ttl 38400
hostingfx.nl.   IN      SOA     ns1.hostingfx.nl. sander@rentserver.nl (
                        1043942568
                        10800
                        3600
                        604800
                        38400 )
ns1.hostingfx.nl. IN NS 81.17.46.189
ns2.hostingfx.nl. IN NS 81.17.46.190

mail.hostingfx.nl.      IN      MX      20 hostingfx.nl
sander.hostingfx.nl.    IN      RP      "sander@rentserver.nl" sander
hostingfx.hostingfx.nl. IN      LOC     Amsterdam, Telecity
hostingfx.nl.   IN      HINFO   AMD Redhat8
mail.hostingfx. IN      A       81.17.46.189

sander.hostingfx.nl.    IN      A       81.17.46.190
~


en de whois van mn domein (nameserver staat nog bij registreerder)
http://www.vdx.nl/whois.php?domain=hostingfx.nl

Verwijderd

Topicstarter
probleem opgelost, alles compleet herschreven zonder overbodige zooi. Tip voor mensen die er zelf niet uitkomen:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$TTL   1D
@       IN      SOA     ns1.hostingfx.nl. sander.rentserver.nl. (
                                21              
                                8H           
                                2H           
                                4W           
                                1D)          

        IN  NS  ns1.hostingfx.nl.
        IN  NS  ns2.hostingfx.nl.

        IN  MX  20 mail.hostingfx.nl.

ns1     IN  A   81.17.46.189
ns2     IN  A   81.17.46.190
mail        IN  A   81.17.47.189
localhost IN A 127.0.0.1

Verwijderd

Topicstarter
t wil dus niet :(

http://www.sidn.nl/sidn/f...econd2_ip=&submit=Verzend

geeft geen errors...

code:
1
2
3
4
5
6
7
8
9
>
C:\>nslookup hostingfx.nl
*** Can't find server name for address 192.168.0.1: Non-existent domain
Server:  vrrpid1-gateway.io.nl
Address:  81.17.33.2

Non-authoritative answer:
Name:    hostingfx.nl
Address:  81.17.46.189


??? :? ik snap het dus nu echt niet meer. Ik gebruik de bovenstaande zonefile....wat doe ik in godsnaam verkeerd?

  • Bart
  • Registratie: Februari 2001
  • Laatst online: 09:58
???

Misschien zeg ik nu iets doms, maar wat is er fout dan?

Hij verwijst toch gewoon naar het goede ip?

I'm not deaf, I'm just ignoring you.


Verwijderd

Topicstarter
omdat tie weer non-auth* answer geeft?

Maar dan nog
ping ns2.hostingfx.nl geeft de *.189 terug terwijl dit de .190 moet zijn....Daarom zit ik dus echt zwaar te twijfelen wat ik fout doe

  • localhost
  • Registratie: November 1999
  • Niet online

localhost

Ook in geel, groen, paars, wit

Verwijderd schreef op 01 februari 2003 @ 22:56:
omdat tie weer non-auth* answer geeft?

Maar dan nog
ping ns2.hostingfx.nl geeft de *.189 terug terwijl dit de .190 moet zijn....Daarom zit ik dus echt zwaar te twijfelen wat ik fout doe
Je nameserver is helemaal niet NS1.HOSTINGFX.NL of NS2.HOSTINGFX.NL
Dit gaat pas werken als je bij SIDN de glue-records in de database hebt en daarna de NS informatie in de nl.-zone wordt omgezet.

localhost@host01:~$ dig @NS.RIPE.NET. hostingfx.nl. ns

; <<>> DiG 9.2.1 <<>> @NS.RIPE.NET. hostingfx.nl. ns
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24115
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;hostingfx.nl. IN NS

;; AUTHORITY SECTION:
hostingfx.nl. 345600 IN NS ns1.declare.nl.
hostingfx.nl. 345600 IN NS ns2.declare.nl.

;; ADDITIONAL SECTION:
ns1.declare.nl. 345600 IN A 81.17.51.56
ns2.declare.nl. 345600 IN A 81.17.51.57

;; Query time: 3 msec
;; SERVER: 193.0.0.193#53(NS.RIPE.NET.)
;; WHEN: Sun Feb 2 11:41:06 2003
;; MSG SIZE rcvd: 106

Verwijderd

Topicstarter
Ok nu is ie dus wel geupdate:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[root@hostingfx scripts]# dig @NS.RIPE.NET. hostingfx.nl. ns

; <<>> DiG 9.2.1 <<>> @NS.RIPE.NET. hostingfx.nl. ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39895
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;hostingfx.nl.                  IN      NS

;; AUTHORITY SECTION:
hostingfx.nl.           345600  IN      NS      ns2.hostingfx.nl.
hostingfx.nl.           345600  IN      NS      ns1.hostingfx.nl.

;; ADDITIONAL SECTION:
ns1.hostingfx.nl.       345600  IN      A       81.17.46.189
ns2.hostingfx.nl.       345600  IN      A       81.17.46.190

;; Query time: 1 msec
;; SERVER: 193.0.0.193#53(NS.RIPE.NET.)
;; WHEN: Mon Feb  3 22:43:42 2003
;; MSG SIZE  rcvd: 98

[root@hostingfx scripts]#



Mijn named.conf:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
options {
        directory "/etc";
        pid-file "/var/run/named/named.pid";
        };

zone "." {
        type hint;
        file "/etc/db.cache";
        };

zone "hostingfx.nl" {
        type master;
        file "/etc/hostingfx.nl.hosts";
        };


~


en de hostingfx.nl.hosts

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$TTL   1D
@       IN      SOA     ns1.hostingfx.nl. sander.rentserver.nl. (
                                21              
                                8H           
                                2H           
                                4W           
                                1D)          

        IN  NS  ns1.hostingfx.nl.
        IN  NS  ns2.hostingfx.nl.

        IN  MX  10 mail.hostingfx.nl.

ns1     IN  A   81.17.46.189
ns2     IN  A   81.17.46.190
mail        IN  A   81.17.47.189
sander IN A 81.17.46.193
localhost IN A 127.0.0.1
ftp IN A 81.17.46.190


Mijn nslookup geeft:
code:
1
2
3
4
5
6
7
C:\>nslookup hostingfx.nl
Server:  ns1.upc.nl
Address:  212.142.28.66

Non-authoritative answer:
Name:    hostingfx.nl
Address:  81.17.46.189


Problemen:
1. subdomein werkt niet
2. mail komt niet aan (grootste probleem)
3. A records werken niet

ik heb named al gerestart, gereload enz enz. Nothing @ all.... Maar het allerergste is dat mijn mail niet aankomt, ook niet als ik hem naar mail.hostingfx.nl laat verwijzen icm een A record wat naar het ip verwijst...
Alles wat je intyped komt uit op hostingfx.nl, het lijkt nu wel een wildcard domain terwijl ik die niet zo heb ingesteld...

http://centralops.net/co/DomainDossier.vbs.asp


http://www.domain-registr...econd2_ip=&submit=Verzend

[ Voor 4% gewijzigd door Verwijderd op 03-02-2003 22:58 ]


  • localhost
  • Registratie: November 1999
  • Niet online

localhost

Ook in geel, groen, paars, wit

Toch gelukt ? Want ik zie nu geen probleem...
Pagina: 1