directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravshan Kosimov <ravs...@linux-online.ru>
Subject HOWTO: start DNS provider? (Version 1.0.1)
Date Fri, 18 May 2007 11:11:21 GMT
Hello,

I'm researching possibility of using Apache DS as DNS server.
How I understood DNS provider should started as standalone application.
I wrote next small program (in attachment).

Apache DS started,
When I start DnsServer, it starts listen 53'th port:
    DEBUG [AWT-EventQueue-0] (DnsServer.java:62) - Apache DNS Service
listening on port 53
And command "netstat -anl | grep :::53", reports that 53'th port listens
somebody (it's 100% DnsServer, no one other):
    tcp        0      0 :::53                       :::*
LISTEN      
But command "dig @localhost ya.ru", reports next:
    ; <<>> DiG 9.3.4 <<>> @localhost ya.ru
    ; (1 server found)
    ;; global options:  printcmd
    ;; connection timed out; no servers could be reached

Reports must be different, for instance:
    dig noexistent.nodomain

    ; <<>> DiG 9.3.4 <<>> noexistent.nodomain
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 9446
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;noexistent.nodomain.           IN      A
    
    ;; AUTHORITY SECTION:
    .                       600     IN      SOA     A.ROOT-SERVERS.NET.
NSTLD.VERISIGN-GRS.COM. 2007051701 1800 900 604800 86400
    
    ;; Query time: 165 msec
    ;; SERVER: 10.3.0.1#53(10.3.0.1)
    ;; WHEN: Fri May 18 15:09:04 2007
    ;; MSG SIZE  rcvd: 112

What I'm doing wrong?
Partition "dc=example,dc=com" exists, but it empty, I don't know what
insert to it. If reason in it, can you send me example dns ldif file?

ps: I very new in DNS.
pps: sorry for my English.

Mime
View raw message