or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/dnspython@1.16.x
tile.json

tessl/pypi-dnspython

tessl install tessl/pypi-dnspython@1.16.0

DNS toolkit for Python supporting almost all record types with high-level and low-level DNS operations

Agent Success

Agent success rate when using this tile

85%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.37x

Baseline

Agent success rate without this tile

62%

rubric.jsonevals/scenario-1/

{
  "context": "Evaluates how well the solution uses dnspython's query utilities to perform DNS lookups over UDP, TCP fallback, TLS, and HTTPS while extracting answers using the library's parsing helpers. Scoring emphasizes correct use of transport-specific APIs and truncation handling rather than general code quality.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "UDP transport",
      "description": "Builds the question with dnspython (e.g., dns.message.make_query) and sends it via dns.query.udp to the configured nameserver using the provided timeout and UDP payload sizing, returning IPv4 answers sorted as required without manual socket code.",
      "max_score": 25
    },
    {
      "name": "Truncation fallback",
      "description": "Detects the UDP truncation flag (response.flags & dns.flags.TC or raise_on_truncation on dns.query.udp) and automatically replays the identical message over dns.query.tcp, preserving EDNS settings/UDP size hints and returning the full IPv6 answer set.",
      "max_score": 25
    },
    {
      "name": "TLS lookup",
      "description": "Performs DNS-over-TLS with dns.query.tls against the configured host/port (853), using an SSL context/server_hostname when appropriate and extracting the expected A record addresses from the TLS response rather than reusing TCP logic.",
      "max_score": 20
    },
    {
      "name": "HTTPS lookup",
      "description": "Uses dns.query.https with GET (post=False) against the configured endpoint/path, honoring any bootstrap_address or session settings, and returns the A record answers from the HTTPS response.",
      "max_score": 20
    },
    {
      "name": "Answer parsing",
      "description": "Collects A/AAAA results from dnspython objects (iterating rrsets/rdata.to_text) instead of ad-hoc parsing, ensuring protocol-specific responses are normalized into the returned list.",
      "max_score": 10
    }
  ]
}