Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DNS (BIND reveres lookup)



On 04/29/2002 09:12 PM, "Ryan Stark" <email@hidden> wrote:

> I have a server behind a router what I setup for email. Because it is behind
> the router it doesn't work. I called apple and they said I had to configure
> BIND for reverse name lookup, but its a 3rd party and they can't help.
>
> I've looked around but I haven't found any good answers. The webmin package
> looked promising but I don't understand enough on what to put in the windows.
> Can anyone give me a brief overview or point me to a web page that does.

An Apple Tech Support member forwarded me this when I had a similar
situation at hand:

How to manually configure BIND on Mac OS X Server 10 from defaults

Obtain the following information about the network you want to configure
BIND for:
IP address of server: 192.168.1.100
Hostname: osxserver
Domain name: school.edu
Primary and Secondary parent DNS servers: 192.168.1.200,192.168.1.201

1. Create a folder on your desktop called BIND.

2. Select Go to Folder from the Go menu to access /private/etc.

3. Copy the default configuration files to the BIND folder.

/etc/named.conf.default
/var/named/db.example.default
/var/named/db.192.249.249.default
/var/named/db.127.0.0.default

4. Open 3db.example.default2 using TextEdit.

5. Remove the 3o2 from the first non-commented line.

Before:
example.com. IN SOA ns1.example.coom. administrator.example.com. (
After:
example.com. IN SOA ns1.example.com. administrator.example.com. (

6. Select Find from the Edit menu. Enter 3example.com2 without the
quotes in Find field.

7. Enter 3school.edu2 without the quotes in the Replace with field.

8. Click on Replace All button.

9. Enter 3ns12 without the quotes in the Find field.

10. Enter 3osxserver2 without the quotes in the Replace with field.

11. Click on Replace All button.

12. Enter 3192.249.2492 without the quotes in the Find field.

13. Enter 3192.168.12 without the quotes in the Replace with field.

14. Click on Replace All button.

15. Create an entry for the server. Change the clienta entry to match
the server information:

Before: clienta.school.edu. IN A 192.168.1.2
After: osxserver.school.edu. IN A 192.168.1.100

16. Now select Save As from the File menu.

17. Name the file 3db.school2 and save in the BIND folder.

18. Open 3db.192.249.249.default2 using TextEdit.

19. Select Find from the Edit menu. Enter 3example.com2 without the
quotes in Find field.

20. Enter 3school.edu2 without the quotes in the Replace with field.

21. Click on Replace All button.

22. Enter 3ns12 without the quotes in the Find field.

23. Enter 3osxserver2 without the quotes in the Replace with field.

24. Click on Replace All button.

25. Enter 3249.249.1922 without the quotes in the Find field.

26. Enter 31.168.1922 without the quotes in the Replace with field.

27. Click on Replace All button.

28. Create an entry for the server. Change the clienta entry to match
the server information:

Before: 2.1.168.192.in-addr.arpa. IN PTR clienta.school.edu.
After: 100.1.168.192.in-addr.arpa. IN PTR osxserver.school.edu.

29. Now select Save As from the File menu.

30. Name the file 3db.192.168.12 and save in the BIND folder.

31. Open 3db.127.0.0.default2 using TextEdit.

32. Select Find from the Edit menu. Enter 3example.com2 without the
quotes in Find field.

33. Enter 3school.edu2 without the quotes in the Replace with field.

34. Click on Replace All button.

35. Enter 3ns12 without the quotes in the Find field.

36. Enter 3osxserver2 without the quotes in the Replace with field.

37. Click on Replace All button.

38. Now select Save As from the File menu.

39. Name the file 3db.127.0.02 and save in the BIND folder.

40. Open named.conf.default using TextEdit.

41. Add a forwarders entry in the options section.

Before:
options {
directory "/var/named";
notify yes;
statistics-interval 1;

After:
options {
directory "/var/named";
forwarders {192.168.1.200; 192.168.1.201;};
notify yes;
statistics-interval 1;

42. Change first zone entry, example.com to school.edu
Before: zone "example.com" in {
After: zone "school.edu" in {

43. Change db.example to db.school
Before: file "db.example";
After: file "db.school";

44. Change second zone entry, 249.249.192 to 1.168.192
Before: zone "249.249.192.in-addr.arpa" in {
After: zone "1.168.192.in-addr.arpa" in {

45. Change db.192.249.249 to db.192.168.1
Before: file "db.192.249.249";
After: file "db.192.168.1";

46. Now select Save As from the File menu.

47. Name the file 3named.conf2 without the quotes and save in the BIND
folder.

48. Copy the named.conf file into /private/etc and Replace

49. Copy the db.school, db.192.168.1, db.127.0.0 into /private/var/named
and Replace.

50. Start DNS from the Server Admin.
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.

References: 
 >DNS (BIND reveres lookup) (From: Ryan Stark <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.