[Pdns-users] OT: sytax of dig

Achim Schmidt schmidt at os.waaf.net
Wed Jun 16 13:20:48 UTC 2004


Am Mi, 2004-06-16 um 15.09 schrieb Bob Lockie:
> I want to return all MX records but I can't get dig to work.
> 
> $ dig -p 5300 @localhost lockie.ca -t MX
> 
> The man page says I can use -t for type or just specify it as the last 
> parameter but it doesn't work either way (it returns nothing).
> 

try this: 

$ dig -p53 @localhost mx in lockie.ca


- achim

> mysql> select * from records  where domain_id=244;
> +------+-----------+------+------+------------------------------------------------------------------+------+------+-------------+
> | id   | domain_id | name | type | content 
>                              | ttl  | prio | change_date |
> +------+-----------+------+------+------------------------------------------------------------------+------+------+-------------+
> | 1574 |       244 |      | MX   | mail .lockie.ca 
>                                        | NULL |    0 |        NULL |
> 
>  From the pdns in monitor mode, I get a
> Authoritative NXDOMAIN to 192.168.1.100 for 'lockie.ca' (MX)
> but no answer.
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users




More information about the Pdns-users mailing list