diff --git a/ChangeLog b/ChangeLog index 88bc809a..38dc7a2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* 2014-??-??: Version 0.1.2 + * Fixed rdata fields for MX + * 2014-03-24 : Version 0.1.1 * default to NOT build extensions (libev, libuv, libevent), handle --with/--without optiosn to configure for them diff --git a/src/rr-dict.c b/src/rr-dict.c index bfa74970..b475f9bb 100644 --- a/src/rr-dict.c +++ b/src/rr-dict.c @@ -89,7 +89,8 @@ static struct rdata_def hinfo_rdata[] = { static struct rdata_def minfo_rdata[] = { { "rmailbx" , t_bindata }}; static struct rdata_def mx_rdata[] = { - { "preference" , t_bindata }}; + { "preference" , t_int }, + { "exchange" , t_bindata }}; static struct rdata_def txt_rdata[] = { { "txt_strings" , t_list }}; static struct rdata_def rp_rdata[] = {