DHCP and DNS on a home network


 
Thread Tools Search this Thread
Special Forums IP Networking DHCP and DNS on a home network
# 1  
Old 08-21-2012
DHCP and DNS on a home network

Let's say I have a home network containing a server that acts as the resident gateway and serves dhcp and dns requests. Laptop A is frequently connected and disconnected from the network as it is used as a travel computer. Is there a secure way to make sure that whenever laptop A is connected to the home network it is always reachable at the same hostname but is configured to acquire its IP information dynamically through dhcp, as it would have to do if it were connected to any other network anywhere else?

I am new to dns, but it seems that there is a fair amount of manual configuration required, which is odd, because dns was developed so that lazy people didn't have to memorize squillions of cryptic internet addresses. Hell, dhcp is yet another tool developed because of the laziness of sysadmins. It seems like there should be a way to let their laziness work together. I tried looking up some stuff on Dynamic DNS, but it seems that that's something completely different. Any light shed on this matter would be greatly appreciated.
# 2  
Old 08-21-2012
Please mention the Operating System and version of every computer involved in this network and make it clear which computer is running as a DHCP server. If this is not unix/Linux please make it emphatically clear what Operating System is installed.

Must assume that this is a standalone network with no Internet connection whatsoever because it would be weird for a Home Network to not use the Internet Router as a DHCP server. Unless you have paid for an external Fixed IP Address?

Anyway I can't see what your problem is. Providing that the laptop has a hostname set, this will be associated with the DHCP IP address. This assumes that your DNS server is working correctly.
# 3  
Old 08-21-2012
At the moment this is mostly a hypothetical situation. The laptop in question is running Ubuntu 12.04, the server does not exist yet but will probably run FreeBSD. The other hosts on the network are running FreeBSD 9.0. The internet connection is through a cable modem, so dhcp of some sort is required on the home end.
Is this basically a case of rtfm for DNS and hostname configuration?
# 4  
Old 08-21-2012
My advice. Use the Cable Modem for DHCP IP address allocation. Just stopping it doing that job would be a major task in its own right with a Home Network setup. The same applies to DNS.

I am assuming that you are not running a Corporate Network (as distinct from a Home Network) and have not paid your ISP for a Fixed IP Address and control over the Cable Modem.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

2. UNIX for Advanced & Expert Users

dnsmasq for dhcp to setup dns

Is dnsmasq important for dhcp to setup dns? (3 Replies)
Discussion started by: cokedude
3 Replies

3. IP Networking

How to resolve hostnames on DHCP home network

Hi, I have a PC running Solaris 10 (hostname MARKUNIX) and a laptop running WinXP (hostname MARK-LAPTOP). Both are connected to broadband via a router. IP addresses for each are determined via DHCP (192.168.1.nn) and I do not leave either on, 24x7. I am running Oracle on MARKUNIX and... (1 Reply)
Discussion started by: ksdmnv
1 Replies

4. UNIX for Dummies Questions & Answers

DNS & DHCP configuration

Hi to all. Sorry for my bad english. For pure self-educational, not professional, purposes, I am studying how to configure a server with several services operating on it. For my experiment I'm using VirtualBox 3.1.4 on a WinXP host with 3 FreeBSD guests; one acts as a DHCP + DNS server; the... (0 Replies)
Discussion started by: marboxer
0 Replies

5. IP Networking

configuring dns and dhcp

hello i am running my sipx server in 192.168.2.14 i would like to configure domain name and host name for this ..... can anyone tell me how to configure dns server and dhcp server so that any body both outside and inside the lan could access the sipx server by their host.domain.com name (1 Reply)
Discussion started by: sudeepiit
1 Replies

6. Solaris

DHCP DNS Config

I'm running Solaris 9 and I need my box to request it's DNS servers off a DHCP server - can I do this? (1 Reply)
Discussion started by: Jdogg
1 Replies

7. IP Networking

DHCP and DNS

I asked a similar type question in the solaris forum but i think this relates closer to networking. I am trying to setup a small NIS environment that is contained within a large company network. The client machines are getting an IP from the companys' Windows DHCP server. The NIS server has a... (3 Replies)
Discussion started by: meyersp
3 Replies

8. UNIX for Dummies Questions & Answers

DHCP update DNS ?

Hi all, I'm in the dark about this. I have setup a dhcp server and a DNS server. I'm confuss as to how to have DNS auto update any new clinet that the dhcp has given an ip address for. Can this be done. I think that I'm missing something in the configuration of DHCP. I was told that when a DHCPD... (3 Replies)
Discussion started by: larry
3 Replies

9. IP Networking

Solaris DHCP and DNS

I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box. In my nsswitch.conf file I have: hosts: dns ... (4 Replies)
Discussion started by: marist89
4 Replies

10. IP Networking

DHCP, DNS and LDAP

I have just started learning Unix on Solaris and have been asked to learn DHCP, DNS and LDAP very quick in order to implement them and maintain. Does anyone know how to do this or a decent book that will include all the above three which tells you how to install and maintain. All i have found so... (2 Replies)
Discussion started by: ollyparkhouse
2 Replies
Login or Register to Ask a Question