Showing posts with label PowerDNS. Show all posts
Showing posts with label PowerDNS. Show all posts
Wednesday, March 28, 2012
Performing NAPTR queries on Windows
While testing out my PowerDNS setup, which I blogged about yesterday I discovered that nslookup can not perform NAPTR queries.I poked around for a while to see what I was doing wrong, however it seems that even though Windows Server supports supplying NAPTR responses to DNS nslookup can not perform this query. (Yeah this seems odd to me as well.)
Tuesday, March 27, 2012
Setting up PowerDNS for ENUM
I have a few installations coming up that are going to be using ENUM for call routing. ENUM is a form of DNS that allows mapping of telephone numbers to URIs. While I understand the idea behind ENUM and how it works in a basic sense I wanted to get some hands on experience. So with that in mind I decided to set-up PowerDNS. I built mine within a VM running Cent OS but it can easily run on any version of *nix.
There are heaps of guides out there on how to set it up and I ended up using a combination including this one. Now, I didn't end up installing PowerAdmin as really it seemed like overkill in my case so I just stopped at step 3. Now all that is left is to add ENUM records into the database. These are simply standard NAPTR records with the correct format for ENUM which is specified in RFC 2916. I followed the instructions here, mainly because SQL is something that I can never seem to remember after a few days.
Obviously I wanted to check that I had everything set-up by performing some queries. In my case local queries worked fine but I had some troubles with remote queries, I was getting no response. Stopping iptables sorted this out for me, obviously in a more permanent machine you would want to open up the firewall not remove it completely. Finally, while nslookup worked great for normal DNS queries it couldn't perform NAPTR queries so I had to turn to a windows port of dig, which can be found here.
Subscribe to:
Posts (Atom)