We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


DNS problem on freeBSD 6.0

tvmccorm asked
Medium Priority
Last Modified: 2013-12-23
I've messed up my DNS somehow.  I can still access sites by IP address, but not name.  'dig google.com' for instance says ';; connection timed out; no servers could be reached'

my /etc/resolv.conf has

domain  microconsulting.com

my /etc/rc.conf has

defaultrouter= hostname=freebsd.microconsulting.com
ifconfig_xl0="inet  netmask" ipv6_enable="YES"

The problem started after installing tomcat 5.5 ...
Watch Question

system administrator
Top Expert 2007
1) Do you really need  ipv6_enable="YES" ? If not, please disable.
2) defaultrouter and hostname should be on different lines.

This server: works fine, I've just checked. Even for recursive lookups.

My suggestions are:
1) Check: /etc/nsswitch.conf
hosts: files dns
2) Check your firewall rules:
nslookup google.com
if it doesn't work - it's a network problem

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2015

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept Nopius http:#16389743

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.