dns_resolve_reverse_ipv6 Failed under Win7/Python2.7/VC2008
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
import event
import ipaddr # from http://code.google.com/p/ipaddr-py/
def myIPv6back(result, t, ttl, addrs, *args):
if( 0 != result):
print("Error looking up address.\n")
return False
if( type(addrs) == str):
print args,addrs
else:
for adds in addrs:
ip_int =0
for char in adds:
ip_int = (ip_int << 8) + ord(char) # Ag >
ip = ipaddr.IPv6Address(ip_int)
print ip
event.dns_resolve_reverse_ipv6(adds,0,myIPv6back,ip)
else:
print args,addrs
event.init()
event.dns_init()
#event.dns_resolve_ipv4("www.google.com",0,myIPv4back )
event.dns_resolve_ipv6("ipv6.google.com",0,myIPv6back, "ipv6.google.com")
event.dispatch()
event.dns_shutdown()
Error:
result = 3 ,addrs = None
```
Original issue reported on code.google.com by `jhong...@gmail.com` on 5 Sep 2011 at 2:52
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied reproducer and its event.dns_init(), event.dns_resolve_ipv6(), and event.dns_resolve_reverse_ipv6() entry points. Trace the C implementation behind these calls on Win7 with Python 2.7 and VC2008, focusing on the reported result 3 and addrs=None. Done means the IPv6 lookup and reverse lookup complete successfully in the stated environment and the callback receives the expected address data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100