[Dnsmasq-discuss] MX forwarding

Gene Czarcinski gene at czarc.net
Sat Aug 25 20:07:39 BST 2012


On 08/24/2012 03:26 PM, Gene Czarcinski wrote:
> On 08/23/2012 10:26 AM, Gene Czarcinski wrote:
>> For a query from test2 of "host xxx", the response were:
>>
>> query[A]: config xxx.tst is NXDOMAIN-IPv6
>> query[A]: config xxx is NODATA-IPv4
>> query[AAAA]: config xxx is NODATA-IPv6
>> query[MX]: forwarded xxx to 192.168.122.1 <<------------
In the interest in moving this along, I took a look at the code. 
Unfortunately, I not quite sure where an actual fix should be done. I 
did a little "test" and added two lines to extract_request() in 
rfc1035.c .. I duplicated the T_ANY test and changed ANY to MX.

The result was what I had hoped ... from the syslog:
   query[MX]: config xxx is NODATA-IPv4

However, as I said in a previous message, I believe that no plain-names 
should be forwarded is "--domain-needed" is specified ... regardless of 
what "--local=" is.

Gene



More information about the Dnsmasq-discuss mailing list