|
#1
| |||
| |||
| How do I set up a DNS server? I would like to setup a dns server in my network so I can use ip networking between Mac and PC. I would like to have it set up so that a user could just type in a hostname rather than ip address and have a hosts file on a DNS server. I'm sorry if I am being redundant but I am quite confused. Hopefully someone will understand what I am trying to do. |
|
#2
| |||
| |||
| well setting up a name server means just having the correct config files, and then run /usr/sbin/named. setting up custom zone files might be a little complicated for your needs, however. you don t really need to have a name server just to translate hostnames to IPs. /etc/hosts or NetInfos equivalent can do it for you. here are some DNS how-tos, if you really do want to set up a DNS server. here is a thread discussing making your OSX machine recognize your custom hostnames, and here is a HOWTO thread on the same. be aware that if you do choose the second hostnames method, instead of DNS, you would have to edit the hostnames on both (or all) machines on your network, which would be automatic if you had a DNS server. if you have only very few machines on your network, you should much prefer the easier method of editing hosts files. also, i have no idea where windows stores its hosts file, but its there somewhere. if you run some form of UNIX on your PC (other than darwin), then it can be found at /etc/hosts |
|
#3
| |||
| |||
| bind is overkill dude, if you're talking about 2 machines seeing each other, you want to edit the hosts file on the windows machine, and on Mac OS X.1 you open up netinfo and make duplicates of the localhost entry in the machines category, filling in information as appropriate to make the entries correct and meaningful. Setting up real DNS (using bind anyway) is a real pain in the butt. You don't want to do that. BIND is industrial class, and way too painful for individual use. If someone knows of something simpler ... is there a simpleDNS or something out there? MacDNS for mac OS 9 was Sweet. Is there a X replacement?
__________________ - Beware the wrath of my apathy. |
|
#4
| |||
| |||
| I have 12 Macs and 4 PC's. I would rather not edit each config file on each machine. I have a spare mac that I could run OS X on that I want to use as a DNS machine. I just need to know how to set it up. I will check the links that lethe has left for me and see if that helps. |
|
#5
| |||
| |||
| you need BIND to set up a dns server. it's quite easy if you got a OSX server, just edit the contents in var/named and named.conf in etc. I'm sure you can run BIND on regular OSX aswell, but it's not installed by default so you have to get the packages. |
|
#6
| |||
| |||
| au contraire. bind is installed by default on OSX client, although there is no default configuration (i.e. there is no /etc/named.conf). but you don t have to download/install. just create a configuration file. |
|
#7
| |||
| |||
| aha... well in osx server u can turn it on and off from the gui, you probably need some extras for that... |
|
#8
| |||
| |||
| krokodilen: i sometimes wonder what exactly the differences between OSX client and OSX server. OSX server has a GUI frontend to setting up NI domains, and now im learning that it has GUI frontend to bind, but for the most part, the underlying software is identical? tk4two1: after you figure out how to make your named.conf file, and your zone files, then you should do the OSX specific stuff: make an entry in /etc/hostconfig called NAMESERVER, and make it a network startup item. here is apples page on how to make a startup item, or you can use their samba script as an example template. for setting up DNS, those links from TLDP should provide enough info, but i ve never used them, instead i used DNS and BIND from oreilly associates. let us know how it goes! |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SHUTDOWN without warning SCARY!! | astro_sk | Mac OS X System & Mac Software | 10 | May 16th, 2003 01:45 PM |
| I set up a streaming server | AdmiralAK | Mac OS X System & Mac Software | 0 | August 6th, 2002 11:41 AM |
| HOW TO STOP SPAM -- join the fight! | GadgetLover | Apple News, Rumors & Discussion | 11 | April 11th, 2002 02:52 PM |
| Need help to set up OS X Server 10.1 | Essage | Mac OS X System & Mac Software | 2 | December 1st, 2001 12:15 AM |
| how to set up server for login | novaice | Mac OS X System & Mac Software | 0 | August 8th, 2001 10:52 AM |