Re: No glue on MX and NS requests.
"Graham Weldon" <[email protected]>
| Newsgroups | gmane.network.dns.bind9.dlz |
|---|---|
| Message-ID | <[email protected]> |
Are you suggesting that BIND is not operating correctly? Cheers, Graham Weldon Fluid Lino (02) 4927 5337 (0407) 017 293 [email protected] <mailto:[email protected]> www.fluidlino.com.au <http://www.fluidlino.com.au/> ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Rob Butler Sent: Wednesday, 27 February 2008 1:18 AM To: [email protected] Subject: Re: [Bind-dlz-testers] No glue on MX and NS requests. Adding glue for MX / NS records is optional and not required for proper function of a DNS server. It's not a bug in the DLZ code, I specifically haven't added support for that capability, just like there isn't support for RFC 2136 dynamic updates. Also, the glue functionality really doesn't belong in DLZ. Database drivers should make the data available to Bind, the logic for adding glue should be within a higher layer of Bind and not in the DB layer, as it appears to be now in the in-memory Bind DB implementation. Rob ----- Original Message ---- From: Graham Weldon <[email protected]> To: [email protected] Sent: Monday, February 25, 2008 8:10:09 PM Subject: Re: [Bind-dlz-testers] No glue on MX and NS requests. To explain this further, I am running DNSReports on the domain in question via DNSStuff.com Its returning the MX entries for the domain without issue, but the returned results do not contain the A records matching the listed MX entries. Eg: @ IN MX 10 mx1.domain.com @ IN MX 20 mx2.domain.com A request for MX entries returns something similar to that. However, to speed up DNS, and allow resolution without subsequent requests, we should be able to respond to a request for MX records with accompanying A records: @ IN MX 10 mx1.domain.com @ IN MX 20 mx2.domain.com mx1 IN A 1.2.3.4 mx2 IN A 9.8.7.6 Any thoughts on how I can do this? Current SQL Queries are as follows (colored to match website SQL coloring for MySQL: http://bind-dlz.sourceforge.net/mysql_driver.html): dlz "MySQL Zone" { database "mysql {host=localhost dbname=dbname user=user pass=pass} {SELECT DISTINCT 'DOMAIN_EXISTS' FROM `dns_zones` WHERE `domain_name` = '%zone%'} {SELECT `ttl`,`type`,`mx_priority`,IF (`type` = 'TXT', concat('\"', `data`, '\"'), `data`) FROM `dns_records` LEFT JOIN `dns_zones` ON `dns_records`.`dns_zone_id` = `dns_zones`.`id` WHERE `domain_name`='%zone%' AND `host`='%record%' AND NOT (`type`='SOA' OR `type`='NS')} {SELECT `ttl`,`type`,`mx_priority`,`data`,`contact`,`serial`,`refresh`,`retry`,` expire`,`minimum` FROM `dns_records` LEFT JOIN `dns_zones` ON `dns_records`.`dns_zone_id`=`dns_zones`.`id` WHERE `domain_name`='%zone%' AND (`type`='SOA' OR `type`='NS') ORDER BY `type` DESC} {SELECT `ttl`,`type`,`mx_priority`,IF (`type` = 'TXT', concat('\"', `data`, '\"'), `data`),`contact`,`serial`,`refresh`,`retry`,`expire`,`minimum` FROM `dns_records` LEFT JOIN `dns_zones` ON `dns_records`.`dns_zone_id`=`dns_zones`.`id` WHERE `domain_name`='%zone%' AND NOT (`type`='SOA' OR `type`='NS')} {SELECT DISTINCT 'ALLOW_TRANSFER' FROM `dns_transfers` LEFT JOIN `dns_zones` ON `dns_transfers`.`dns_zone_id` = `dns_zones`.`id` WHERE `domain_name`='%zone%' AND `client`='%client%'} {INSERT INTO `dns_queries` SET `domain_name`='%zone%'}"; }; Cheers, Graham Weldon Fluid Lino (02) 4927 5337 (0407) 017 293 [email protected] <mailto:[email protected]> www.fluidlino.com.au <http://www.fluidlino.com.au/> ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Graham Weldon Sent: Tuesday, 26 February 2008 11:35 AM To: [email protected] Subject: [Bind-dlz-testers] No glue on MX and NS requests. Hi all, Just running a few DNS reports on the domains hosted on our systems, and I am noticing that requests for NS and MX records do not return the corresponding A records. Is this something that should be done, and is it something that I can simply configure by re-writing my SQL statements? Appreciate any help. Cheers, Graham Weldon Fluid Lino (02) 4927 5337 (0407) 017 293 [email protected] <mailto:[email protected]> www.fluidlino.com.au <http://www.fluidlino.com.au/> -----Inline Attachment Follows----- ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -----Inline Attachment Follows----- _______________________________________________ Bind-dlz-testers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers ________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear ch/category.php?category=shopping> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bind-dlz-testers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers
Fluid
(image/gif, 385 B) - not displayed