ANY records?

Jim Reid jim at rfc1035.com
Thu Aug 3 17:41:07 UTC 2000


>>>>> "Dan" == Nicolae, Dan <Dan.Nicolae at usa.xerox.com> writes:

    Dan> What is the BIND behavior when a recursive query with
    Dan> QTYPE=ANY is received?  Assuming that the name server is not
    Dan> authoritative for QNAME but it has a few RRs (but not all) in
    Dan> the cache: - will it just return the cached RRs (possibly
    Dan> none) and AA=0, or - will it contact an authoritative name
    Dan> server and return all RRs and AA=1 to the client?

    Dan> Does * mean ANY or ALL ?

It depends on what name server you ask. If the server is configured to
accept recursive queries and has no records for the name, it'll
resolve the name and return whatever resource records it finds as a
result of querying other servers. If the server has some resource
records for that name - say from caching answers from earlier queries
- it'll just provide those answers. In that case * means ANY: the
server simply gives you whatever it's got. When the query goes to an
authoritative server for the zone containing the name being looked up,
the * query should return all the resource records for that name that
exist. In that case * means ALL.



More information about the bind-users mailing list