Re: TTL issues using Bind-DLZ

Rob Butler <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
With DLZ you need a TTL entry for every record, it won't use the SOA default TTL.

I believe what Bind does internally is set the TTL to the SOA's TTL for any record without it's own specific TTL.  So ultimately in the in-memory Bind DB every record does have a TTL.

Instead of setting a TTL for every record you could implement a sub-query to get the SOA TTL if the record's TTL is null.  Does MySQL support sub-queries now?  I know this would be possible with PostgreSQL.

Rob

----- Original Message ----
From: Michael J. Ayers <[email protected]>
To: bind-dlz-testers <[email protected]>
Sent: Tuesday, April 8, 2008 5:15:24 PM
Subject: [Bind-dlz-testers] TTL issues using Bind-DLZ

Hey all,

I am using bind-dlz with mysql and am having issues with ttls.  My SOA has a default ttl of 86400 for my primary domain.  Unless I am incorrect, all other entries in the domain should default to that ttl when queried.  However, when I query the DNS, the SOA ttl shows up properly, but if i am looking up something like www.example.com, which would have a null ttl value in the database, it comes back with a ttl of zero.  How would I get it to accept the default ttl for the entire domain as opposed to having to enter a ttl for EVERY entry in my zone (which would be really really tedious).

Thanks

-- 
Michael J. Ayers
Senior Systems Engineer






      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Bind-dlz-testers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.