Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
tweethumbs
Posts: 41
Registered: ‎04-24-2012
My Device: storm

DNS Server Question

    Hi I just gonna ask on how do you get the DNS server of a blackberry phone?. I've been looking through the api and I can't find anything that gets the DNS server Is there any way to get this? Thanks in advance.DNS Serve Question

Please use plain text.
Developer
Eugen
Posts: 467
Registered: ‎07-16-2009
My Device: Z10 LE

Re: DNS Server Question

Could you explain reason why do you need access to routing process?

Please use plain text.
Contributor
tweethumbs
Posts: 41
Registered: ‎04-24-2012
My Device: storm

Re: DNS Server Question

I need the dns server to connect to a udp socket like the dns application in the blackberry device is it possible to do this?

Please use plain text.
Developer
simon_hain
Posts: 16,190
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: DNS Server Question

no. the api does not expose these information.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Contributor
tweethumbs
Posts: 41
Registered: ‎04-24-2012
My Device: storm

Re: DNS Server Question

Is there any work around on how to do this because im doing a class like a dns resolver getting the ip address based on the host name

Please use plain text.
Developer
Eugen
Posts: 467
Registered: ‎07-16-2009
My Device: Z10 LE

Re: DNS Server Question

Take a look to http://www.xbill.org/dnsjava/

 

It's not compatible with BB JRE but you could get insights about DNS protocol

 

Please use plain text.