bk99.de entertain the web since 1997

RFC 1035: DNS messages and resource records

Summary

RFC 1035 specifies the DNS packet format, resource records and the communication between resolvers and servers. A compact binary format was crucial for global scalability. Extensions have to cope with old resolvers and limited packet sizes.

Ideas

  • Resource records combine name, type, class, TTL and data.
  • Transaction IDs match answers to their queries.
  • UDP serves short answers, TCP handles larger or special transfers.

Facts

  • RFC 1035 replaces RFC 882.

Remarks

  • RFC 1035 has the status “Internet Standard”; current errata and successor documents should also be checked.

Recommendations

  • Test authoritative answers over UDP and TCP.
  • Validate zone data before every publication.

References

Read the RFC at the RFC Editor

Search the Web Archive