Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5994309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:48:00+00:00 2026-05-22T23:48:00+00:00

I am using Ubuntu 64 bit and Java ignores the system DNS settings. How

  • 0

I am using Ubuntu 64 bit and Java ignores the system DNS settings. How can I set these manually from within my Java program?

Here is the code (sorry the JVM language is Clojure):

(clojure.contrib.http.agent/string (clojure.contrib.http.agent/http-agent (str "http://yahoo.com")))

:which results in:

java.net.UnknownHostException: yahoo.com

Other people have had similar problems:
Java cannot resolve DNS address from AIX: UnknownHostException

 **nslookup yahoo.com**
Server:         192.168.1.1
Address:        192.168.1.1#53

Non-authoritative answer:
Name:   yahoo.com
Address: 69.147.125.65
Name:   yahoo.com
Address: 72.30.2.43
Name:   yahoo.com
Address: 98.137.149.56
Name:   yahoo.com
Address: 209.191.122.70
Name:   yahoo.com
Address: 67.195.160.76
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:48:00+00:00Added an answer on May 22, 2026 at 11:48 pm

    In the end I found the answer to my problem at:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477211

    lib32nss-mdsn needs to be installed on Ubuntu to make this work

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My program is written in C++, using GCC on Ubuntu 9.10 64 bit. If
I have a simple C++ program compiled using gcc 4.2.4 on 32-bit Ubuntu 8.04.
I'm using GCC 4.3.3 on Ubuntu 9.04 64-bit and was getting errors using C++-style
I am using Ubuntu 9.04 I just installed ruby and rails in my system
I'm using ubuntu 64-bit and trying to run a .asm file on NASM. But
I'm using Scala 2.9.0.final on Ubuntu 11.04. Starting scala from the command line takes
I'm using emacs23 on Ubuntu 32-bit 10.04/10.10 with GNOME and Compiz. Pressing M-RET in
I am using Ubuntu 10.10 (64 bit) with gcc and I wanted to use
I am using Ubuntu 10.04 64 bit and QT 4.6.3. QGroupBox borders in any
I am using ubuntu, fluxbox, pcmanfm as filemanager, xmms2 as music player. My goal:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.