[Pdns-users] OT: sytax of dig

Bob Lockie bjlockie at lockie.ca
Wed Jun 16 13:09:28 UTC 2004


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).

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.


More information about the Pdns-users mailing list