I am trying to get a punjab BOSH server to work with a development XMPP server. punjab is trying to do a SRV DNS lookup of the XMPP domain, which is not present in our DNS infrastructure. Is there any way I configure punjab to route requests for "myserver.mydomain.com" to an IP address? I do not have access to the xmpp:route attribute at the XML-level, so this would have to be done somehow by punjab/twisted configuration.
相关问题
- Get Offline Messages From XMPP Without Becoming On
- Find who is hosting a website using PHP
- On Linux, Java issues reverse DNS lookups when a s
- How to balance webserver bandwith usage?
- Scrapy error:User timeout caused connection failur
相关文章
- 如何通过命令行测试dns反向解析
- “SyntaxError: unexpected EOF while parsing” while
- Making a python program wait until Twisted deferre
- How do I enable custom domains for my users?
- Twisted XmlStream: How to connect to events?
- Async query database for keys to use in multiple r
- performance for searching through 100 million reco
- Celery worker hang when running with twisted
As a quick hack to get you up and running, install dnsmasq, add the following to the config file:
Start dnsmasq. I recommend starting with
sudo dnsmasq -dq
to start with, so you can see the debug output and diagnose any problems.Modify your network configuration to use 127.0.0.1 as your DNS server. E.g., but check for your OS, set
resolv.conf
to:This will run a small DNS resolver locally on your box, server up the one SRV record locally, and forward everything else to your upstream DNS server.