I'm setting up a domain on my home network for learning purposes, using BIND on CentOS to act as the name server. I've got the name server up and running as type master for my internal domain (plumbnicoll.family), and can do forward and reverse lookups from other computers in my LAN. For example, host office2.plumbnicoll.family correctly returns office2.plumbnicoll.family has address 192.168.1.3.
What I'd like is to be able to resolve just office2 to its address, without needing to put .plumbnicoll.family at the end.
Is this possible, or even desirable to do? I'm running a mixed environment at home with both Linux and Windows computers.
Answer
It is possible and perfectly desirable. On the Linux machines:
- Add
search plumnicoll.familyto your /etc/resolv.conf
On the Windows machines (instructions for Windows XP, other versions will require adaptation but should be similar):
- go to Start > Settings > Network Connections
- right-click local network connection > Properties
- left-click Internet Protocol (TCP/IP)
- left-click Properties
- left-click Advanced
- left-click DNS tab
- left-click Append these DNS suffixes
- left-click Add
- type plumnicoll.family
- left-click Add
- left-click OK
- left-click OK
- left-click OK
No comments:
Post a Comment