Menu

#110 Need an easy way to retrieve DNS server IP Address

None
closed
nobody
None
2
2019-05-18
2014-05-31
No

Need to be able to easily and conveniently retrieve the DNS server IP address and this seemed to be the easiest way to accomplish this:

Index: SimpleResolver.java
===================================================================
--- SimpleResolver.java (revision 1696)
+++ SimpleResolver.java (working copy)
@@ -73,6 +73,7 @@
  * Messages sent using this SimpleResolver will be sent to this address.
  * @return The destination address associated with this SimpleResolver.
  */
+public
 InetSocketAddress
 getAddress() {
    return address;

Thanks.

Discussion

  • Brian Wellington

    Thanks! Patch applied.

     
  • Brian Wellington

    • status: open --> accepted
    • Group: -->
     
  • Ingo

    Ingo - 2019-05-18

    Ticket moved from /p/dnsjava/feature-requests/19/

     
  • Ingo

    Ingo - 2019-05-18
    • Status: accepted --> closed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.