|
|
Local (Privete) domain?
Any machine on your private network should be able to use the IP address of your machine as a DNS server. There shouldn't be any need to change the configuration or set up any 192.x.x.x specific information for your private network.
Local (Privete) domain?
I know that it's not nessary for normal internet use.. I have been doing this for YEARS... but thare are some things that really would work a LOT better with a Local DNS information system. Appleshare (or other) servers that do a reverse lookup to find thare own address and name... being able t o tell users, "log on to myserver.local" is a lot easer than telling users..."Logon to teh server at 192.168.1.100... 192....dot... 168... dot... 1... dot... "
Local (Privete) domain?
What you want to do is setup pointer records for your virtual IP blocks. I haven't tested this, and I'm writing this off the top of my head.
You will want to add a reference to your zone in /usr/local/etc/named.conf. Insert the following lines into your /usr/local/etc/named.conf file.
Next, you will want to create your virtual.rev file in the /usr/local/etc/namedb directory. Create this with your favorite text editor, and make it look like this:
Here, x, y, and z are the last octet in the ip address for each machine; e.g., if the address is 192.168.1.12, then x would be 12. namex is whatever name you want to give to return for reverse lookup of the ip address. This should do it. You probably don't need to setup normal lookup tables (i.e., ones that contain A records) since you will probably not need to get these resolved. If you do, post a reply, and I'll add the instructions. At some point, you should spring for O'Reilly's DNS and Bind, since its a damned useful reference even if you don't wish to become a DNS expert.
Local (Privete) domain?
this is exactly what i'm trying to do. i basically ported over my named.conf and namedb files from my linux box, but no luck... yet.
dig shows correct responses for my local domain, "27":
%dig dev.27 +pfmin ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59568 ;; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1 ;; QUERY SECTION: ;; dev.27, type = A, class = IN ;; ANSWER SECTION: dev.27. 3D IN CNAME ns.27. ns.27. 3D IN A 192.168.1.1even reverse lookups work fine with dig. no errors in the system.log on starting named. HOWEVER, if i try to 'ping dev.27' i get: ping: unknown host dev.27what have i missed? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|