[Pdns-users] no content

Dimitrij Hilt dimitrij at 1and1.com
Wed May 12 23:32:57 UTC 2004


On Wed, May 12, 2004 at 07:24:20PM -0400, Bob Lockie wrote:
> On 05/12/04 17:35 Bob Lockie spoke:
[...]
> >
> >|  1 |         1 |      | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >|  2 |         1 |      | NS   | ns                               | 3600 
> >|    0 |        NULL |
> >|  3 |         1 |      | NS   | ns15.zoneedit.com 
> >                              | 3600 |    0 |        NULL |
> >|  4 |         1 |      | NS   | ns8.zoneedit.com 
> >                              | 3600 |    0 |        NULL |
> >|  5 |         1 |      | MX   | mx                               | 3600 
> >|    1 |        NULL |
> >|  6 |         1 | ns   | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >|  7 |         1 | mx   | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >|  8 |         1 | www  | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >|  9 |         1 | mail | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >| 10 |         1 | sftp | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >| 11 |         1 | ssh  | A    | 216.168.107.222 
> >                              | 3600 |    0 |        NULL |
> >| 22 |         1 |      | SOA  | ns.lockie.ca postmaster.lockie.ca 

Hi,

names in records must be FQDN, if you use standard queries from PowerDNS.

basic-querie is:
select content,ttl,prio,type,domain_id,name from records where
type='%s' and name='%s';

this querie will find ssh.lockie.ca type A but not ssh type A


Regards,

Dimi

-- 
Dimitrij Hilt               1&1 Internet AG     
D-76135 Karlsruhe           http://www.1and1.com


More information about the Pdns-users mailing list