Re[2]: How to resolve the DNS zone in Deadwood?

test24 test24 at mail.ru
Wed Nov 3 04:59:19 EDT 2010


> >> upstream_servers = {}
> >> upstream_servers["my.tv."] = "10.10.1.1"   #
> master NS for
> >> TV. zone
> >> upstream_servers["."] = "192.168.1.1,"     # for
> other ns
> >> upstream_servers["."] += "192.168.1.2"     # for
> other ns
> 
> This looks good.  Since you're using the += operator, make sure you're
> using Deadwood 3.0.01 (+= had problems in 2.9 releases of Deadwood)

I use latest Deadwoods version (to my mind) - from 24.09.2010/19:47/size 65024/Deadwood.exe

> 
> >> when nslookup my.tv
> 
> The nslookup output you're giving us doesn't tell us enough to fix
> your problem.  Things *should* work with the above configuration (if
> it didn't, Deadwood 3.0.01 would not have been released because it
> would have failed the dwood2rc_d_upstream_servers test).
> 
dwood3rc configuration:

max_ar_chain = 1
dns_port = 53
upstream_port = 53
tcp_listen = 0
recurse_min_bind_port = 12000
recurse_number_ports = 16384

upstream_servers = {}
upstream_servers["my.tv."] = "10.10.1.1"	# NS for my.tv with seved Master zone on it
upstream_servers["."] = "10.10.1.2,"	# NS for others
upstream_servers["."] += "10.10.1.3"	# NS1 for others

recursive_acl = "127.0.0.1/16,"         # Loopback Network
recursive_acl += "10.10.1.1/24"		# Local Network
random_seed_file = "secret.txt" 
max_inflights = 32
maxprocs = 2048
tcp_listen = 0
max_tcp_procs = 1024
handle_noreply = 0
handle_overload = 0
filter_rfc1918 = 1
reject_aaaa = 1
resurrections = 1
reject_mx = 0
num_retries = 3
timeout_seconds = 4
timeout_seconds_tcp = 8
ttl_age = 1
verbose_level = 9

> It's a good idea to use "dig" instead of nslookup.  Dig is
> included
> with any modern Linux/BSD/whatever distribution.  If using Windows,
> install Dig for Windows.  Directions are here:
> 
> http://woodlane.webconquest.com/pipermail/list/2010-July/000623.html
> 
> Please show us the full "dig" output for the queries you sent us.
> 
> - Sam

So, with this configuration of deadwood i use nslookup ang dig in WinXP

upstream_servers["my.tv."] = "10.10.1.1"	# NS for my.tv with seved Master zone on it
upstream_servers["."] = "10.10.1.2,"	# NS for others
upstream_servers["."] += "10.10.1.3"	# NS1 for others

F:\DNS\nslookup my.tv 10.10.1.10    (Deadwood IP)
Server:  NS_Local
Address:  10.10.1.10

Name:    my.tv

nslookup my.tv 10.10.1.1
*** Can't find server name for address 10.10.1.1: Non-existent domain
Server:  UnKnown
Address:  10.10.1.1

Name:    my.tv
Address:  10.10.1.1
================================

C:\Communic\DNS\Benchmark\Dig>dig @10.10.1.10 my.tv          10      (ASK Deadwood DNS)

; <<>> DiG 9.3.2 <<>> @10.10.1.10 my.tv
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 828
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;my.tv.                                IN      A

;; AUTHORITY SECTION:
my.tv.                 0       IN      SOA     z.my.tv. y.my.tv. 1 1 1 1 1

;; Query time: 0 msec
;; SERVER: 10.10.1.10#53(10.10.1.10)
;; WHEN: Wed Nov 03 10:41:10 2010
;; MSG SIZE  rcvd: 113


C:\Communic\DNS\Benchmark\Dig>dig @10.10.1.1 my.tv

; <<>> DiG 9.3.2 <<>> @10.10.1.1 my.tv
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1053
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;my.tv.                                IN      A

;; ANSWER SECTION:
my.tv.                 3600    IN      A       10.10.1.1

;; AUTHORITY SECTION:
tv.                    3600    IN      NS      ss.tv.

;; ADDITIONAL SECTION:
ss.tv.                 3600    IN      A       10.10.10.10

;; Query time: 15 msec
;; SERVER: 10.10.1.1#53(10.10.1.1)
;; WHEN: Wed Nov 03 10:41:54 2010
;; MSG SIZE  rcvd: 73


=======================================
On master side

;
; BIND data file for local loopback interface
;
$TTL    3600
@       IN      SOA     tv.            admin.tv. (
                        2010102202      ; Serial
                                8H      ; Refresh
                                1D      ; Retry
                                2W      ; Expire
                                1D )    ; Negative Cache TTL

        IN      NS      ss.tv.
;@      IN      A       10.10.1.10

ss              IN      A       10.10.10.10
my              IN      A       10.10.1.1

Where is the mistake?
Thank you.


Proposition:
Cached NS (Deadwood) together with Authoritative server (MaraDNS) = new version of GOOD NS named DeadDNS
(from DEADwood+maraDNS=DeadDNS) ;)





More information about the list mailing list