Using DNS Services on an internal network and still using an outside DNS

I have just started using Mac OSX Server for the first time and I am trying to set up an internal DNS server so I can set up an LDAP Directory master and replica. However, I am running into some problems in setting up the DNS server on our network.
This is where it gets a little confusing to me here and i have to explain some things. We have a shared web hosting ISP, which means that our mail services and web hosting services are not hosted on site. To access our mail services using a FQDN I would point Outlook to mail.xxx-xxx.net. However, I want to use that domain, xxx-xxx.net, as our internal network as well because it is the name of our company.
I can get all of the DNS names to propogate to their assigned IP's on the internal network and can ping everything using fully qualified domain names, but whenever I go to use services such as mail., it cannot find the server which is hosting that service because it is obviously not on our internal network. This makes sense that I cannot ping it, but how do I set up the alias mail.xxx-xxx.net to point to the ip address of the mail servers hosted by our ISP instead of something hosted on our internal network?
Sorry I can't clarify better, I'll try some cliff's instead;
1) Trying to set up internal dns server so I can use LDAP Directory Master and Replica Services.
2) The domain, xxx-xxx.net is currently being used for web hosting and mail services not hosted at our site.
3) Want to use the domain xxx-xxx.net as our internal domain because it is the name of our company, and eventually we will be hosting our own content.
4) Can set up internal DNS server and get all IP's to propagate just fine, but services such as mail.xxx-xxx.net cannot be used because they are not hosted on the internal network.
5) How do I set up DNS to point certain services to point to an external DNS servers, or to the IP address of the server itself so I don't have to use the ip address i.e. mail.216.256.33.24?

Ok I got it
Here's my walkthrough for all the other tormented souls, that might find this thread and require help:
Introduction:
Internet-card: ra0 192.168.16.64
Internet-gateway, nameserver 192.168.16.1
local-network-card eth1 192.168.15.1
[1] modprobe capabilty
   -> /etc/rc.conf
[2] pacman -S
   * dhcpd (DHCP daemon)
   * bind (Berkeley Domain Name Server)
[3] vi /etc/dhcpd.conf
ddns-update-style ad-hoc;
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.15.0 netmask 255.255.255.0
# --- default gateway
option routers 192.168.15.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.15.255;
option domain-name-servers 192.168.15.1;
range 192.168.15.2 192.168.15.254;
default-lease-time 21600;
max-lease-time 43200;
[4] vi /etc/named.conf
acl micro
192.168.15.0/24;
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
auth-nxdomain yes;
datasize default;
allow-query{ micro; };
allow-recursion { micro; };
[5]
/etc/rc.d/dhcpd start
/etc/rc.d/named start
    -> rc.conf
[6] iptables
vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
iptables -t nat -A POSTROUTING -o ra0 -j SNAT --to 192.168.16.64
iptables -A INPUT -j DROP -m state --state NEW,INVALID -i ippp0
iptables -A FORWARD -j DROP -m state --state NEW,INVALID -i ippp0
make it a script that is run in /etc/rc.local

Similar Messages

  • HT1807 iphone 4 . How to turn off cell phone network and still use wi-fi?

    Hi,  I will be traveling with my iphone 4 to Italy. I would like to use my phone on Wifi only. How can I set up my phone to prevent any out of country surcharges?
    Please help.

    I tried that and tested a phone call. That works but I also text a message and it went through.  How come?

  • Can I use my external HD for Time Machine and still use it for storage?

    I have a 1TB external HD and my computer has yet to arrive. I was planning on backing it up via Time Machine and I'm wondering if my external HD will still be useable as a storage device once I pair it with Time Machine.
    There's no way the backup will take up the full 1TB of space, so I'm hoping it doesn't just go to waste >.<

    If you really only want backups of the current contents, don't use Time Machine.
    It's designed to keep copies of things you've changed or deleted for as long as possible. This allows you an excellent chance to recover a previous version of something you changed or deleted in error.
    It also allows you to revert your entire system to the exact state it was in at the time of any previous backup, even if that's a different version of OSX. It's rare, but if an OSX update, or installation of a kernel extension or 3rd-party app makes a huge mess, it's much easier and more reliable than rebuilding everything.
    You might want to review the [Time Machine Tutorial|http://www.apple.com/findouthow/mac/#timemachinebasics] and perhaps browse [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum). See #1 there for size considerations.
    For alternatives, see Kappy's post on [Basic Backup|http://discussions.apple.com/thread.jspa?messageID=12366915#12366915].

  • HT4245 When I try to activate iMessage and while I write my correct password I I receive message say that my user name and password is incorrect although I was use iMessage service on the same network (etisalat ) U.A.E  before I update to ios6

    When I try to activate iMessage and while I write my correct password I I receive message say that my user name and password is incorrect although I was use iMessage service on the same network (etisalat ) U.A.E  before I update to ios6
    Note : my iPhone is been swapped 2 weeks ago and I already erase all data in old I phone

    1) Go here: http://www.apple.com/support/appleid/manage/
    2) Click on Sign in to manage your Apple ID
    3) Click on Manage your Apple ID
    4) Type in your Apple ID and Password and click Sign in
    5) Select Addresses from the left hand side
    6) Click Edit
    7) In country region type United Kingdom
    8) Click Save at the bottom of the page
    9) Go to your Apple Device Settings - General - International - Region Format - Select United Kingdom
    10) Press the Home button
    11) Log into Facetime and iMessage with your CORRECT APPLE ID AND PASSWORD
    This should work for all of you guys. Hope it helps.

  • HT1807 Does a tigo international account work with iPhone 4S or do I have to use my US carriere's international option and pay for roaming?

    Does my iPhone 4S work with a tigo plan when traveling internationally or do I have to use my US carrier's international plan and pay roaming services?

    If your phone is carrier locked, you have no choice but to get International Provisioning activated for your account, if you want to use your phone outside of your carrier's network.

  • Sound on MacBookPro stopped on internal speaker and when using earphones

    Sound on MacBookPro stopped on internal speaker and when using earphones.  I re-booted and tried again.  No luck.

    There are many possible causes for this issue. Take each of the following steps that you haven't already tried. Some may not apply to your model. Back up all data before making any changes.
    1. Start with the steps recommended in this support article. Don't skip any of the steps. It's the starting point for further efforts to solve the problem.
    2. Run Software Update and make sure you have a fully up-to-date installation of OS X.
    3. If you've installed an application called "Memory Clean" or any other third-party software that is supposed to "clean" or "purge" memory automatically, remove it according to the developer's instructions and restart. You should do that even if the software is not causing the problem, because it's useless.
    4. Other third-party software that has been reported to interfere with sound output includes "Boom" and "Samsung Kies." If applicable, uninstall according to the developer's instructions (not by dragging something to the Trash.)
    5. If an AirPlay device is selected for sound output from iTunes (or from other applications via third-party software such as "Airfoil"), deselect it.
    6. Launch the application "Audio MIDI Setup" by entering the first few letters of its name in a Spotlight search and selecting it in the results (it should be at the top.) Select Built-in Output from the list on the left. If the Mute boxes are checked, uncheck them.
    7. If a red light is visible in the audio-out port when sound should be playing, the internal switch is stuck in the position for digital output. You may be able to free it by inserting and removing a mini-stereo jack of the proper size. Inserting any kind of tool in the port may cause damage that won't be covered by the warranty.
    If there's no red light, the switch may still be stuck in the headphone position. Try to free it the same way.
    8. Disconnect all wired peripherals except keyboard and mouse, if applicable. If more than one display is connected, disconnect all extra ones. Restart and test.
    9. If you have a MacBook Air, turn off Bluetooth and restart.
    10. Start up in safe mode. Don't log in; just restart as usual when the login screen appears. When you do, make sure the words "Safe Boot" do notappear in the login screen. If they do, the system is still in safe mode and sound won't work.
    11. Reset the NVRAM.
    12. Reset the SMC.
    13. Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/Audio
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash. Recreate your settings in the Sound preference pane.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    14. Reinstall OS X after backing up all data.
    15. Make a "Genius" appointment at an Apple Store.

  • I am planning on using my time capsule as a network and essentially an external hard drive - not just back up, is this ok?

    I am planning on using my time capsule as a network and essentially an external hard drive - not just back up, is this ok?

    Most users should use the Time Capsule for backups. This assumes that "original" copies of your data are on the computer and backups of this data are stored on the Time Capsule.
    If either the Time Capsule or the hard drive on your computer fails, there are at least copies of your important data on the other drive.
    If you are asking if you can place "original" files on the Time Capsule, do you have a plan to backup those files?
    If the Time Capsule drive has a problem....and your only copy of your important data is on the Time Capsule....you will lose everything.
    If you are asking if this is OK, the answer for most folks would be "no".
    Can you clarify if this is what you are asking?

  • How can I Sync a folder (which contains all types files, sub folders and weighs some gigs) through wifi or USB ( and not using cloud services) between my New Ipad and Win 7 PC? Any apps available? Kindly help

    How can I Sync a folder (which contains all types files, sub folders and weighs some gigs) through wifi or USB ( and not using cloud services) between my New Ipad and Win 7 PC? Any apps available?
    kindly suggest a solution.
    Thank you inadvance!

    You can only import photos/videos via USB and the camera connection kit.
    ITunes: Syncing media content to your iOS devices
    http://support.apple.com/kb/ht1351
     Cheers, Tom

  • Can I disable Cellular data (US Data plan) and still use the Find My Iphone Service (GPS??) in France?

    I have a US Model iPhone 4 (ATT).  I'll be traveling to France for 2 months and I'd like to be able to disable my cellular data while on travel.
    My questions:
    - Can I do this and still access Wifi? I think yes
    - Can I do this and still use Skype? I think yes
    - Can I do this and still use GPS for the Find My iPhone Service?  I don't know....
    - If I can't do any of the above then what are my options?
    JC

    Find my Phone requires a data connection. If cellular data is turned off, it will be pretty much useless unless you are constantly connected to WiFi, which of course you won't be. Same with Skype, data connection required, so will work when connected to WiFi. Unlees the mapping data is stored locally on your phone, GPS will be useless, as the built in Maps app requires a data connection as none of the data is stored on your phone.

  • Can I stream a movie from my Macbook to my Apple TV on one display, and still use my Macbook for other things?

    I have a Macbook Pro and an Apple TV. What I'd like to do is stream a movie from my CinemaNow Account to my television by using my Apple TV and my Macbook. I know that I can do this my using the mirroring feature, however then I can no longer use my Macbook for anything else because my TV will only display what is on the screen of my Macbook. Now with this is mind, what then is the point of having multiple displays through the use of my Apple TV, if only one display can be used at a time unless they both show the same image? Or is there a way for me to be able to stream the movie to my TV and still use my Macbook for other purposes (multi-tasking)? 

    To enable a second display over AirPlay, you first need to be connected to the same network as your Apple TV. Next, open System Preferences > Displays, and select your Apple TV from the “AirPlay Display” drop-down menu.
    Once you do this, your display may flash as the second display connection is acquired, and the Apple TV takes over as the second display. If the displays are mirrored, then you can correct this by opening the “Arrangement” tab in System Preferences > Displays, and ensuring that the “Mirror Displays” checkbox is unchecked.
    In this same “Arrangement” tab, you can move the displays around in the pane to ensure that they're positioned correctly, relative to your physical space (usually side-by-side, or top-down). The primary display here is denoted here by the Menu bar on the display. The arrangement helps with being able to drag windows from one display to the next: if your secondary display is arranged to be to the right of your primary one, for example, you can drag things to it through the right side of your primarcy screen.

  • I have a new iMac and want to use my HP 7300 All in One and to use the "Fax"feature I need a phone port on computer and of course, this computer does not have one.  Are there any aftermarket devices for USB to phone that would work in this case?

    I have a new iMac and want to use my HP 7300 "All in One and cannot use the fax feature because there is no phone port is there a solution for this?BACellli

    You don't need a phone port on the iMac. The HP 7300 DeskJet Pro has an internal modem, you connect the printer's modem connection directly to your phone line. Please re-read the install directions that came with the printer.

  • Can i unplug time capsule from the ethernet cable and still use it??

    can i unplug time capsule from the ethernet cable and still use it??

    I have tried to extend that wireless line but as soon as i remove the LAN cable i have no internet connection anymore. So basically, does the TC get the signal wireless from the router??
    The Time Capsule can wirelessly extend a wireless signal....but only if it is being provided by another Apple AirPort wireless router.
    If the "main" rotuer there is not an Apple AirPort router,  you will need to connect to the network using a wired Ethernet connection.

  • Can you deactivate the phone feature and still use an iphone?

    Can you deactivate the phone feature and use an iphone as an ipod touch and still sync with iTunes?? I would like multiple answers so I can compare.
    Message was edited by: theharrypottergeek

    You can remove the SIM card to prevent any cell phone services and use the iPhone as an iPod Touch.
    You can cancel your service with AT&T or use the SIM card with another phone, or get a new phone with AT&T using the SIM card that shipped with the new phone to activate phone and use the iPhone as an iPod Touch.
    In order to install a firmware update on a no longer activated iPhone, or restore a no longer activated iPhone with iTunes if wanted or needed, the no longer activated SIM card must be inserted in the iPhone to complete the process - the SIM card that was used with the iPhone when it was activated.

  • Can I have a custom RTP payload, and still use a MediaLocator?

    Hi,
    I think I am a little confused. Can I have a custom RTP payload, and still use Manager.createPlayer(MediaLocator locator) to create my player?
    This doesn't seem possible because the RTPManger's addPayload(Format format, int payloadType) method isn't static, forcing me to always create my RTPManager first.
    Is this a valid observation, or am I missing something?
    Your comments are highly appreciated.
    Kind regards,
    Erwin

    Thanks for your prompt reply.
    The short answer is yes.
    The MediaLocator is used to identify the source, or destination for a media stream. For example this could be a file (file://c:\mydisk\audio.wav) or a URL (http://mydomain/music/audio.wav)
    Ok, I get that, but the MediaLocator is also used to identify the protocol, rtp in this case, and the protocol in its turn is used by the framework to locate the DataSource. I am not suggesting what you write is incorrect, I am only trying to understand how this works the way it does.
    RTP is used to transport streaming media in real time over a network (usually UDP).And that is exactly what I need it for.
    The receiver of an RTP stream is an RTP receiver. Players take the datasource(created from the MediaLocator) and feed the data to the RTP manager so it can be streamed across the network or vice versa.
    The vice versa part is what I am interested in. I need to handle a proprietary video format, packed as RTP, and shipped over UDP. My initial approach was to simply register my DePacketizer with the PlugInManager, and add my custom payload type to the RTPHandler (addFormat(Format fmt, int type)). That obviously doesn't work.
    So what I'm trying to convey is that the MediaLocator used in creating a Player will be different, and is used for a different purpose, than the Internet address, and Port used to create an RTPManager.I need a good night of sleep to think that over. I.m.h.o. there is no reason to handle "http://host:port/video/whatever.ext" different from "rtp://host:port/video/whatever.ext". The only difference is that in the first case I can build my graph based on the extension of whatever, and in the second case I have to wait for my first packet in order to determine the payload type. In both cases I expect "DataSource ds = Manager.createDataSource(ml) to work (and it probably does for the standard payload types).
    The JMF framework has a .../media/protocol/rtp/DataSource class as well as a .../media/protocol/http/DataSource class.
    Is this making any sense?Not sure yet, but I certainly appreciate your help.
    Note: In general you don't need to create a custom Payload for RTP.
    What if I want to ship a proprietary video format?
    Thanks a lot,
    Erwin

  • Using 20GB a month for two phones and STILL getting overages.

    My gf and I have an iPhone 6 and the 5C. We don't have wifi at home, but we do at work and school. We are hardly ever home for anything but sleeping and the occasional day off spent doing nothing. But we're going through 20GB of data and still going over the limit a few days before the cycle ends. I called to find out why it's doing this. We were using 4 GB a month with verizon, and never used all of it. The only thing they could recommend was to turn off data for apps, turn off push notifications, etc. things that we've already done because they're obvious. They aren't trying to address the problem at all. So what I'm wondering is, is this a normal amount of data usage with att? Or no?

    It's not AT&T, it's your phones.- Start doing a daily data check by calling *3282#- verify that your wifi is turned on and connecting when within a network- check your wifi connection before watching any videos or facetime or sending pics or downloading anything- see which apps are using the most data

Maybe you are looking for

  • Read the manual; still can't get it right

    i've followed instructions on setting path and classpath, but still can't get the HelloWorldApp to work right. it makes the .class file fine but the java HelloWorldApp command gives this to stdout Exception in thread "main" java.lang.NoClassDefFoundE

  • What's the best MacBook for basic graphic editing?

    Hi there, I've been saving up to finally get a MacBook after having a pro during university (stupidly it got soaked in my bag during a thunderstorm and didn't have any insurance on it). However, I'm trying to save as much money as I can so can't affo

  • Customer master extending to new CC and plant

    Hi I have 100 customers existed under 1000 company code and 1000 plant. Now i want extended to same 100 customers to new entity - 1200 company code and 1200 plant. for this which transaction & steps i can use. can any one help me thanks satish

  • Help in OO

    Hi, i have this code and i have to use it in many FM (same function group) there is a way to use it in object oriented ? i new to abap object. PERFORM qua TABLES periods USING sy-datum.   READ TABLE periods INTO wa_periods INDEX 1.   PERFORM quar TAB

  • Workspace Question on Packages

    I have crated a couple of classes and packaged them. However the workspace in JDeveloper doesn't separate them by packages. What should I do? Thanks.