[Pdns-users] OT: sytax of dig

Curtis Maurand curtis at maurand.com
Tue Jun 22 17:52:31 UTC 2004


dig -p 5300 @localhost mx lockie.ca

Curtis

--
Curtis Maurand
mailto:curtis at maurand.com
http://www.maurand.com


On Wed, 16 Jun 2004, Bob Lockie wrote:

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