Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarding a bit zone using bind to nmcontrol fails #7

Open
rptn opened this issue Feb 14, 2014 · 0 comments
Open

Forwarding a bit zone using bind to nmcontrol fails #7

rptn opened this issue Feb 14, 2014 · 0 comments

Comments

@rptn
Copy link

rptn commented Feb 14, 2014

Debug:

Service dns started
Lookup: {'query': '', 'domain': 'dot-bit.bit', 'src_addr': ('127.0.0.1', 40955), 'qtype': 255, 'qclass': 1}
Traceback (most recent call last):
File "/home/sophie/nmcontrol/lib/dnsServer/init.py", line 94, in serve
rcode, an_resource_records = source_instance.get_response(query, ".".join(question), qtype, qclass, src_addr)
File "/home/sophie/nmcontrol/lib/dnsServer/namecoindns.py", line 99, in get_response
answers = app['services']['dns'].lookup({"query":query, "domain":domain, "qtype":qtype, "qclass":qclass, "src_addr":src_addr})
File "/home/sophie/nmcontrol/service/serviceDNS.py", line 39, in lookup
return app['plugins']['domain'].lookup(qdict)
File "/home/sophie/nmcontrol/plugin/pluginNamespaceDomain.py", line 187, in lookup
return self._bitLookup(qdict)
File "/home/sophie/nmcontrol/plugin/pluginNamespaceDomain.py", line 212, in _bitLookup
if reqtype == "A":
UnboundLocalError: local variable 'reqtype' referenced before assignment
Lookup: {'query': '', 'domain': 'dot-bit.bit', 'src_addr': ('127.0.0.1', 46479), 'qtype': 255, 'qclass': 1}
Traceback (most recent call last):
File "/home/sophie/nmcontrol/lib/dnsServer/init.py", line 94, in serve
rcode, an_resource_records = source_instance.get_response(query, ".".join(question), qtype, qclass, src_addr)
File "/home/sophie/nmcontrol/lib/dnsServer/namecoindns.py", line 99, in get_response
answers = app['services']['dns'].lookup({"query":query, "domain":domain, "qtype":qtype, "qclass":qclass, "src_addr":src_addr})
File "/home/sophie/nmcontrol/service/serviceDNS.py", line 39, in lookup
return app['plugins']['domain'].lookup(qdict)
File "/home/sophie/nmcontrol/plugin/pluginNamespaceDomain.py", line 187, in lookup
return self._bitLookup(qdict)
File "/home/sophie/nmcontrol/plugin/pluginNamespaceDomain.py", line 212, in _bitLookup
if reqtype == "A":
UnboundLocalError: local variable 'reqtype' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant