%PDF- %PDF-
Direktori : /backups/router/usr/local/lib/python3.11/site-packages/netaddr/tests/ip/ |
Current File : //backups/router/usr/local/lib/python3.11/site-packages/netaddr/tests/ip/test_dns.py |
from netaddr import IPAddress def test_reverse_dns_v4(): assert IPAddress('172.24.0.13').reverse_dns == '13.0.24.172.in-addr.arpa.' def test_reverse_dns_v6(): assert IPAddress('fe80::feeb:daed').reverse_dns == ( 'd.e.a.d.b.e.e.f.0.0.0.0.0.0.0.0.' '0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.' 'ip6.arpa.' )