Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's suppose I connect my Ubuntu Hardy laptop to the wifi provided by a Linksys WRT54GL router. I get an IP address assigned by DHCP. I'd like to announce (via upnp?) a hostname for that IP address, so other computers on the same subnet can find my laptop using the hostname. How is this possible?

I'm interested only in DNS. WINS or NetBIOS doesn't work for me, because most of the machines on the subnet don't speak those protocols.


locked by HopelessN00b Jan 23 '15 at 12:09

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by HopelessN00b Jan 23 '15 at 12:09

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question is off-topic under current topicality rules. – HopelessN00b Jan 23 '15 at 12:09
up vote 2 down vote accepted

There is an option for sending your hostname with DHCP:


  send host-name "myfunkycomputer";

As seen on:

Alternatively you can use NetBios:

Modified the question about not being interested in NetBIOS. – pts Apr 25 '10 at 20:40

The router does not act as a DNS server in the sense that it holds zone files and DNS records for your internal hosts. The fact that the router knows which hosts are connected to it via it's DHCP client table is not going to help your internal hosts resolve names for other internal hosts. You need an internal name resolution mechanism (DNS or WINS) that all of your internal hosts register with and query.

``You need an internal name resolution mechanism (DNS or WINS) that all of your internal hosts register with and query.'' Exactly. How would my WRT54GL router provide that? – pts Apr 25 '10 at 20:38
AFAIK, it acn't. You can set up your own on any host that supports running a DNS server. – joeqwerty Apr 25 '10 at 22:33

Zeroconf is what you're looking for. You may have to install software to get it working everywhere.


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