Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just set up a new Ubuntu 11.04 test VM which I hope in the future to use as a wiki for internal documentation.

My problem is that I cannot seem to reach it via hostname through a web browser (IP address works fine). The environment I am testing on is predominantly a Windows domain with Windows Server 2008 running our DNS and DHCP service. I would like to keep the address of this test box dynamic if possible and simply access it by hostname.

Is there something that I need to do in Ubuntu to have it get picked up by DNS (most googling suggests modifying dhclient.conf)? Or is this something that should be configured through Apache?

The Windows machines seem to configure to DNS automagically.

share|improve this question
    
Windows machines use WINS for hostname to IP. –  MaQleod May 13 '11 at 19:40

2 Answers 2

up vote 0 down vote accepted

Try this website. It will let Ubuntu respond like Windows machines to netbios requests, essentially like a local DNS configuration for computer hostnames, using WINS though.

share|improve this answer

The quick and dirty fix would be to create an A record in your zone on the DNS server that points to the webserver. This means that any changes to the IP will need to be manually reflected on the DNS server.

I believe there's a way to make it automatic in Ubuntu, but I don't know it offhand. You could look for material relating to Windows Dynamic DNS and Ubuntu to start out.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.