Skip to content

Commit f7cba8d

Browse files
committed
minor update
1 parent a72cb29 commit f7cba8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/dns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def response(self, resolution):
5454
retVal += "\xc0\x0c" # Pointer to domain name
5555
retVal += "\x00\x01" # Type A
5656
retVal += "\x00\x01" # Class IN
57-
retVal += "\x00\x00\x00\x05" # TTL
57+
retVal += "\x00\x00\x00\x00" # TTL (don't cache)
5858
retVal += "\x00\x04" # Data length
5959
retVal += "".join(chr(int(_)) for _ in resolution.split('.')) # 4 bytes of IP
6060

0 commit comments

Comments
 (0)