🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8076

Re: Can Java Get the DNS server?

#8076
From: Michael Campbell
Date: Tue, 24 Apr 2001 01:53
15 lines
1416 bytes
>>> Hi Gurus
>>> Can We got the DNS server using Java API ?
>> 
>> There is a DNS mapping for JNDI somewhere here:
>> 
>> http://developer.java.sun.com/developer/earlyAccess/jndi/


>But that is some thing to get result of name,
>I need the DNS address, like when u dialup the internet,
>a DNS address will assigned to the system ,
>so you can resolve www.borland.com to xx.x.xx.xx

Are you asking for a machine's IP address, or are you asking for a DNS 
server IP so you can ask it for a name->IP resolution?
Technical Details
Message-ID: <Xns908CDE768B3C0michaelscampbellyaho@205.152.0.142>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.atl.bellsouth.net.MISMATCH!newsfeed.atl!news2.atl.POSTED!not-for-mail
References: <3adfcde0$1_2@dnews> <uk84fd71s.fsf@sds.no> <3ae4ba0c_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,33942cfbcbfd917b
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-23 18:56:06 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.atl.bellsouth.net.MISMATCH!newsfeed.atl!news2.atl.POSTED!not-for-mail
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Can Java Get the DNS server?
From: michael_s_campbell@yahoo.com (Michael Campbell)
References: <3adfcde0$1_2@dnews> <uk84fd71s.fsf@sds.no> <3ae4ba0c_1@dnews>
Message-ID: <Xns908CDE768B3C0michaelscampbellyaho@205.152.0.142>
User-Agent: Xnews/4.04.10
Lines: 15
Date: Tue, 24 Apr 2001 01:53:34 GMT
NNTP-Posting-Host: 65.80.77.24
X-Trace: news2.atl 988077214 65.80.77.24 (Mon, 23 Apr 2001 21:53:34 EDT)
NNTP-Posting-Date: Mon, 23 Apr 2001 21:53:34 EDT