Phil Mayers writes: > If you want TTL, you will need to use DNS-specific functions like the > res_* > API. You need to be sure you are querying the master, otherwise the TTL > will be the one from cache, not the "real" value.
I appreciate this information as it sounds like I am using the wrong tool for the job. I only want to look up an A record by name and have the fields in a structure, evaluate those data and then possibly delete that record or or write a new one that has been modified. I thought that getaddrinfo was what I needed to use to do essentially a nslookup in C. Martin _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users