[Pdns-users] PowerDNS modification question

Lonnie Cumberland lonnie at outstep.com
Sat Jul 16 20:29:53 UTC 2005


Greetings All,

I am new to this mailing list so please forgive the basic level of some 
of my questions, ok.

We are working to build an Asterisk PBX VoIP service and have PBX 
servers in the US, Belgium, and Australia with our current webserver in 
th US.

What we are looking to do is to use possibly use a modified PowerDNS 
instance, if you think that it is the right application for the job, to 
have a redirector such that when a user connects to our main server, we 
can find out what their current IP is and redirect them to the PBX that 
is currently closest to them based upon their IP. The catch is that all 
of the users would have the same SIP and IAX2 sub-domains in their hard 
coded configurations on their softphone or hardphone and our "modified" 
PDNS server would just send them to their geographically associated PBX 
with a possibly different IP address than a user from another area 
trying to connect to the PBX.

Not sure if any of this is really even possible, but it should be 
because the psudeo-PDNS would not have to service the REAL WORLD lookups 
I think.

Also, all of the users configurations will be connecting with the same 
SIP and IAX2 sub-domain names but just be redirected to the proper PBX.

Example:

User1 connects from the US asking our psudeo-pdns (pdns.example.com) for 
(sip.example.com). Our pdns.example.com would send them to the PBX at 
(1.2.3.4)

User2 connects from Belgium asking our psudeo-pdns (pdns.example.com) 
for (sip.example.com).  Our pdns.example.com would send them to the PBX 
at (2.3.4.5)

Now then each time User1 or User2 do a PDNS lookup for sip.example.com, 
we return their respective IP like above.

Any advise and assistance would be greatly appreciated.

-- 
Thanks,

Lonnie Cumberland
OutStep Technologies Incorporated
CELL: 313-333-2935
FAX: 619-639-2888



More information about the Pdns-users mailing list