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 and Mail



thanks for your consulting dan


On Jun 4, 2006, at 7:44 PM, Dan Shoop wrote:

At 9:55 AM +0200 6/4/06, Banana Flex wrote:
hi list

i have this problem reported on the system.log

servermgr_dns: configured name and reverse DNS name do not match (server.flex.banana != www.mydomain.com), various services may not funcion properly - use changeip to repair and/or correct DNS
servermgr_dns: Reloaded named


the en0 is listed on this address: 195.94.42.190 (from a DMZ)
the mask: 255.255.255.248
the router is 194.158.13.24
DNS is 195.94.42.190
Search is flex.banana

to make the router working i setup a script launched at startup (simply with rc.local)

ifconfig en0 inet 195.94.42.190 netmask 255.255.255.248
route -n add -net 195.94.42.191 -interface en0
route -n add -net 194.158.13.24/29 -interface en0

the hostname of the server is server.flex.banana
the server acting as web server, but for many domain, i've setup server.flex.banana at hostname for testing but i think is not a good game


how do i setup all others domain name to listen on the net?
the DNS service must setup for all domain? or just one to go in the internet?


the second problem is the Mail, how can i setup all domain name?

Stop. Do not pass GO, do not collect $200.

You need to read the documentation. Starting from the beginning. No, seriously. RTFM.

1) You NEVER make changes using ifconfig in OS X. It will result in the system not knowing of the changes, them not surviving a reboot and the next time there is a network event on your system the settings reverting to what is properly configure.

okay, what' is the problem if in the Preferences Pane and the script is the same IP's? i have read on many sites that is possible to configure different route on startup and is preferable to add the configuration of ifconfig
2) You NEVER do anything with rc.local or ANY of the rc files. You either use launchd or StartupItems. However in this case you don't use either of those either.

Mac OS X support launchd, Mach Bootstrap and Startup Items, but always scripts with rc.local
look at the end of /etc/rc


if [ -f /etc/rc.local ]; then
        sh /etc/rc.local
fi

i prefer use of launchd, fully supported on 10.4, but the simplest form is rc.local
can u explain me what because is not good to deal with rc.local


3) If you make ANY changes to the primary IP address OR host name of the system you MUST run changeip

i know

4) You MUST have FQDNS for your host, both forward AND reverse.

thanks

5) For any web sites your virtually hosting you need DNS entries (CNAMES or A records) pointing to your IP address. If you're using RFC1918 addressing and NAT behind your firewall you'll need the Internet to "view" you public IP address(es) and your RFC1918 intranet systems to "view" your private address(es). This means you may need to use BIND 9's Views or be running internal and external DNS servers (ick.)

thanks

6) You don't need to be messing with static routes unless you are MultiHomed

thanks

7) Your router 194.158.13.24 is not in your CIDR block 195.94.42.190/255.255.255.248 to wit:
$ whatmask 195.94.42.190/255.255.255.248

------------------------------------------------
           TCP/IP NETWORK INFORMATION
------------------------------------------------
IP Entered = ..................: 195.94.42.190
CIDR = ........................: /29
Netmask = .....................: 255.255.255.248
Wildcard Bits = ...............: 0.0.0.7
------------------------------------------------
Network Address = .............: 195.94.42.184
Broadcast Address = ...........: 195.94.42.191
Usable IP Addresses = .........: 6
First Usable IP Address = .....: 195.94.42.185
Last Usable IP Address = ......: 195.94.42.190

yes, i know
i don't no why my client use this configuration, but is the only way that the server goes to internet
IP 195.94.42.190
Mask 255.255.255.248
Router 194.158.13.24



thanks for all and sorry to disturb the list
banana

Again, all of this is documented. Despite what you think you may know about *nix systems, OS X is not Linux, not is it *BSD, nor is it Solaris just like none of those are like each other. You must read the documentation. It will answer all of your questions so sine you obviously need to do this there's no need to go into further detail here.


Run, don't walk, to the docs. *Then* come back and ask questions about what you don't understand.
--


-dhan

---------------------------------------------------------------------- --
Dan Shoop AIM: iWiring
Systems & Networks Architect http:// www.ustsvs.com/
email@hidden http:// www.iwiring.net/
1-714-363-1174


pgp key fingerprint: FAC0 9434 B5A5 24A8 D0AF 12B1 7840 3BE7 3736 DE0B

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >DNS and Mail (From: Banana Flex <email@hidden>)
 >Re: DNS and Mail (From: Dan Shoop <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.