[Pdns-users] NOERROR instead of NXDOMAIN. pgsql problem?

Sebastian Heil sebi+pdns at wh-netz.de
Thu Nov 29 16:37:19 UTC 2012


Hallo Peter,

thanks again for your response.

On 28.11.2012 10:17, Peter van Dijk wrote:
> Can you provide query output (i.e. type the queries into psql 
> yourself) for all queries in [3]?

I appended the psql-output of the exting record
"dhcp-gw.workstation.whnetz" [1] and of the non-existing record
"asdf.workstation.whnetz" [2].

The Problem that non-existing records have NOERROR and an empty record
instead of NXDOMAINS still exists

Any clue? Or another hint?


Kind regards

[1]
dns=# select content,ttl,prio,type,domain_id,name from records where
dns-# name='dhcp-gw.workstation.whnetz';
      content      | ttl  | prio | type | domain_id |            name
-------------------+------+------+------+-----------+----------------------------
 2001:db8::        | 3600 |    0 | AAAA |        11 |
dhcp-gw.workstation.whnetz
 10.43.0.254       | 3600 |    0 | A    |        11 |
dhcp-gw.workstation.whnetz
(2 rows)

(I replaced the ipv6 address)

[2]
dns=# select content,ttl,prio,type,domain_id,name from records where
dns-# name='asdf.workstation.whnetz';
 content | ttl | prio | type | domain_id | name
---------+-----+------+------+-----------+------
(0 rows)

dns=# select content,ttl,prio,type,domain_id,name from records where
name='asdf.workstation.whnetz';
 content | ttl | prio | type | domain_id | name
---------+-----+------+------+-----------+------
(0 rows)

dns=# select content,ttl,prio,type,domain_id,name from records where
dns-# type='SOA' and name='asdf.workstation.whnetz';
 content | ttl | prio | type | domain_id | name
---------+-----+------+------+-----------+------
(0 rows)

dns=# select content,ttl,prio,type,domain_id,name from records where
dns-# type='SOA' and name='workstation.whnetz';
                                   content
      | ttl  | prio | type | domain_id |        name
------------------------------------------------------------------------------+------+------+------+-----------+--------------------
 dns1.idmz.whnetz.de. hostmaster.wh-netz.de. 2012112722 3600 900 604800
28800 | 3600 |    0 | SOA  |        11 | workstation.whnetz
(1 row)

dns=# select content,ttl,prio,type,domain_id,name from records where
dns-# name='*.workstation.whnetz';
       content       | ttl  | prio | type | domain_id |         name

---------------------+------+------+------+-----------+----------------------
 dns2.idmz.whnetz.de | 3600 |    0 | NS   |         7 | *.workstation.whnetz
 dns1.idmz.whnetz.de | 3600 |    0 | NS   |         7 | *.workstation.whnetz
(2 rows)




More information about the Pdns-users mailing list