Set up secondary DNS for mail?

When I first configured my server using the advance setup, I successfully setup my DNS services using a domain name for the primary zone that is not a registered domain. I have no intention of ever using the domain name I use internally on the net.
I usually host my mail services with third-party hosting company and just use my server for file and print services. However, I recently purchased a new domain name and have considered using the mail services to host the domain. My question is:
Do I need to setup a secondary zone for this domain, or should I start over and reconfigure my server? I had read that once you configure your primary DNS, it is hard to go back and reconfigure it.
Also, once I have the DNS properly configured, it is my understanding that I'll just need to point the MX records at my hosting company towards my server to make it work, correct?

If you're just looking for mail then there's no need to start from scratch - you can just tell the mail server to accept mail for your new domain in addition to the existing domain.
Before you do this, though, make sure you have a) a static IP address and b) working reverse DNS for your IP address. If you don't have this then remote mail servers may not accept your mail since you look like a spammer.
Apart from that, once you setup postfix to accept mail for your new domain then, yes, all you need to do is change your MX records.

Similar Messages

  • Set up reverse DNS for virtual mail hosting

    I need a bit of server configuation advice.
    I have a static IP and two public domains on a Snow Leopard server connected using NAT behind a firewall - with the necessary port forwarding to ensure all works. 
    1. abc.com is my primary domain on the server - server.abc.com
    2. I have xyz.com set up as a virtual domain and also as a virtual mail host
    This setup has worked well for a long time but I have found that emails to [email protected] are going missing.  If I check my mx records using one of the web based tools it show an error on the reverse dns for server.xyz.com showing a reverse DNS of server.abc.com.
    So the question - is it possible to have secondary 'virtual' DNS record on the server so reverse DNS works for the virtual mail host xyz.com?  If not how do I handle the reverse DNS problem which i think is causing some external mail server to reject mail due to the inconsistency on the reverse DNS lookup?
    Many thanks for any suggestions

    SMTP requires a DNS A record.
    A DNS A record is also known as a machine record.
    A DNS A record inherently means that forward DNS and reverse DNS will match.
    The forward translation translates the host name to the IP address.
    The reverse translation translates the IP address to host name.
    When the full translation produces the same host name, that's an A record.
    DNS CNAME records are aliases, and are used for virtual hosts.
    CNAME records inherently do not match the reverse DNS translations.
    To get your configuration to work, your server must have an A record.
    That means forward and reverse DNS will match.
    Any of the virtual hosts within your mail server then all use an MX pointing at the A record host.
    If you have your DNS hosted somewhere other than your ISP, then you'll need your ISP to set up a DNS PTR.
    The DNS PTR is the reverse translation; address to name.
    If you have your own DNS services within your network (as would be typical with a privately-addressed NAT'd network), set that up as a virtual host within SMTP.
    Here is some related reading on external (public) DNS, as related to SMTP servers and such.

  • Configuring Server DNS for Mail on Google Apps

    I'm trying to configure the DNS on my Snow Leopard Server for mail.mydomain.com to point to Google for Google Apps mail hosting.
    I thought I could go into mydomain.com and put an alias record to point to ghs.google.com, but that's no longer working. Any ideas of how to get around this? Is there something else I'm doing wrong?

    I figured out the problem. It had to do with an alias record hanging up the DNS.

  • Mail&Exchange, where can i set the sync period for mails?

    Hello everybody!
    Where can i set the sync period for my mails with an exchange account? At the moment, i can only see the mails since january, i need to see all of my mails since 2010...
    Thanks!
    Greets
    Jan

    first you make a bookmark for WINDOWS LIFE MAIL:
    https://support.mozilla.com/en-US/kb/how-do-i-use-bookmarks#w_how-do-i-create-a-bookmark
    then you can make a shortcut of it(drag it) where you want it:
    https://support.mozilla.com/en-US/kb/Sorting%20bookmarks#w_rearranging-manually
    add bookmark to toolbar:
    http://support.mozilla.com/en-US/kb/Bookmarks%20Toolbar#w_add-bookmarks-to-the-bookmarks-toolbar
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • DNS/web-server hosted off-site. How to set up Leopard server for mail?

    Hey Everyone,
    Brand new xserve with leopard server 10.5.2. Currently, Our web and DNS server for our domain,"company.com" is co-located off-site with an MX record of "mail.company.com" pointed at the static IP of the office where our mail server is. I want to replace the mail server with the xserve. With that in mind, how do I configure the DNS on the xserve during initial configuration to reflect that? Give it a self-referencing FQDN like server.company.office and see if the mail service can handle the domain hosted elsewhere?
    I'm pretty new to servers and would love be able to keep this all in Standard but I'm not afraid to jump into Advanced if need be. I've created a test domain through GoDaddy of "company2.com" with an MX record of "mail.company2.com" pointing at the IP address of the xserve. Any help would be greatly appreciated!

    Hello,
    Have a look at this blog post:
    http://blogs.adobe.com/captivate/2010/08/reporting-the-quiz-results-to-a-local-server.html
    Lilybiri

  • DNS for Mail service.

    I want to use java to send mail by smtp service.
    but for some hosts, the InetAddress class can't find out
    the ip address for the hosts, which need the MX flag in
    DNS Query data package(UDP).
    I can send the query and get the result from the ISP
    DSN server, but the replay UDP data is quit complex,
    I have not find a simple way to get the IP address from
    the UDP data.
    Can any one help me? Or Are you doing the same thing
    like that ? We can talk about it together.
    Thanks
    Scott

    HI Duker,
    I tred to use ur way.
    in the following code,
    an excpetion thrown .like
    "javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.dns.DnsContextFactory. Root exception is java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory"
    And I try to find the related classes in the libs,
    but can not find it,so I can not get any related document about the usage of the related classes.
    Can you give me more help?
    Regards.
    Scott
    <code>
    package dnstest;
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class dns_t {
    public static void main(String[] args) throws NamingException{
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    props.put(Context.PROVIDER_URL, "dns://ns1.dns.com/thedomain.com");
    DirContext ictx = new InitialDirContext(props);
    Attributes attrs1 = ictx.getAttributes("www", new String[] {"A"});
    Set st = attrs1.keySet();
    Iterator it = st.iterator();
    NamingEnumeration it=attrs1.getAll();
    while (it.hasMoreElements()) {
    System.out.println((String)it.nextElement());
    Hi,
    You could try the JNDI-DNS early access service
    provider, it is basically a provider for the JDNI api
    that allows you to query a given DNS server.
    Checkout
    http://developer.java.sun.com/developer/earlyAccess/jnd
    /#DNS
    The below code is a simple test that looks up the IN A
    record for www.thedomain.com
    import java.util.*;
    import javax.naming.*;import javax.naming.directory.*;
    >
    public class DnsTest {
    public static void main(String[] args) {
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.dns.DnsContextFactory");
    props.put(Context.PROVIDER_URLURL, "dns://ns1.dns.com/thedomain.com");
    DirContext ictx = new
    x = new InitialDirContext(props);
    Attributes attrs1 = ictx.getAttributes("www",
    ("www", new string[] {"A"});
    Set st = attrs1.keySet();
    Iterator it = st.iterator()
    while (it.hasNext()) {
    System.out.println((String)it.next());
    Hope this helps
    Duke Ronlund
    CoreJ.com
    I want to use java to send mail by smtp service.
    but for some hosts, the InetAddress class can'tfind
    out
    the ip address for the hosts, which need the MXflag
    in
    DNS Query data package(UDP).
    I can send the query and get the result from theISP
    DSN server, but the replay UDP data is quitcomplex,
    I have not find a simple way to get the IP address
    from
    the UDP data.
    Can any one help me? Or Are you doing the samething
    like that ? We can talk about it together.
    Thanks
    Scott

  • DNS for Mail service Virtual Domains

    On a server primarily running as a Mail server with 10.6.3 (DNS and OD also running)
    If host name is mail.domain.com and
    if mail service has a virtual domain virtualdomain.com,
    in the DNS setup, virtualdomain.com should have an MX record like mail.virtualdomain.com and either an A record pointing to the IP of mail.domain.com OR a CNAME pointing to mail.domain.com?
    When setting to the CNAME, DNS logs says:
    "25-May-2010 11:47:52.610 zone virtualdomain.com/IN/com.apple.ServerAdmin.DNS.public: virtualdomain.com/MX 'mail.virtualdomain.com' is a CNAME (illegal)"
    but if I set to an A record pointing to the IP, isn't there a PTR conflict with the mail.domain.com pointing to the same IP?

    SMTP requires an A or AAA as the required response for the box named in an MX.
    Your MX for the domain or subdomain would/should/must aim at an A or AAA.
    Not a CNAME. That's considered illegal.
    Yes, random domains can all have their respective MX records pointing to the same mail server. So long as the mail server has an A or AAA record. And that mail server itself is expected to be configured to accept mail for those domains for local delivery, or as part of a relay.

  • How to set up secondary WLC for all APs at once?

    We added a new controller to the group which we want to be as a secondary for all WAPs. How can I set it up so that I don't have to go to each AP individually? Can this be done on the controller or from the WCS?

    WCS.
    Configure > AP Template > Lightweight AP > Add Template > Make a name > Save
    Under AP Parameters Tab, right-hand column, tick the "Controllers" and choose the secondary controller in the drop down menu.
    To the left-hand column, scroll down and put a tick in the "Secondary Controller IP Address" and enter the IP address of the Secondary Controller.
    Go to the Select AP tab and find the WAP based on the controller name (fastest way to find it) and choose them.  Go to the Apply/Schedule tab and click the "Apply" button.
    All done.

  • How do I set outgoing smtp port for mail program ?

    How do I set a port for the outgoing mail server (smtp)? If you go to
    SETTINGS \ <email account> \ ADVANCED
    you can only associate a port with the INCOMING SETTINGS. I need to associate a port with the Outgoing Server. How do I do this?

    Tap on the outgoing smtp server under Settings>Mail,Contacts, Calendars and your email account. You will then see the advanced settings for the outgoing smtp server.

  • Setting up outgoing server for Mail

    I have a business email account--thru yahho smal biz--and can receive mail. I cannot send mail. I've tried setting up mail.mac.com, smtp.gmail.com and neither works.

    You can configure Hotmail to work on the iPhone. It's working great on mine!! You have to upgrade to a Hotmail Plus account (although, apparently they will be offering POP3 on free accounts, as well, sometime within the next year). It sounds like POP3 on the paid Hotmail accounts is something that was just "officially" enabled last week. I found an official announcement from one of the Lead PMs for Hotmail - take a look, here:
    http://mailcall.spaces.live.com/Blog/cns!CC9301187A51FE33!44348.entry
    I just upgraded my Hotmail account to Hotmail Plus yesterday and now my mail works from my iPhone (it was not working yesterday before I upgraded my account). Here are the iPhone mail settings I am using successfully (the email addresses and passwords are just examples, of course):
    Account: On
    *Account Information:*
    Name: John Smith (note: enter your own name)
    Address: [email protected] (note: enter your full Hotmail email address)
    Description: Hotmail
    *Incoming Mail Server:*
    Host Name: pop3.live.com
    User Name: [email protected] (note: enter your full Hotmail email address)
    Password: password (note: enter your Hotmail password)
    *Outgoing Mail Server (SMTP):*
    Host Name: smtp.live.com
    User Name: [email protected] (note: enter your full Hotmail email address)
    Password: password (note: enter your Hotmail password)
    *Advanced Settings:*
    Incoming Uses SSL: On
    Outgoing Uses SSL: On
    Authentication: Password
    Delete from Server: When removed from Inbox (or your preferred option)
    That's it - I hope everything works for you, as well. Good luck!
    - Dohsane

  • How do I set the same DNS for both Extreme and Express?

    I have an Airport Express that is configured to extend the network created and routed through my AirPort Extreme. However, when I connect to the network from the room where the Extreme is, I need to have the automatic DNS in place in order to connect. If, later, I want to connect to the same network from another room through the Express that is extending it, I must replace the automatic DNS with 4.2.2.4 or there is no internet connection. I was wondering if anybody could walk me through properly configuring the devices to avoid having to change DNS when I move elsewhere in the house that is not directly covered by the Extreme main base. I am only experiencing these issues with my iPads, by the way. hank you.

    No need to manually set DNS on any of the extending devices.....that is handled automatically during the setup.
    The real issue here is not DNS.....it is that iOS devices like the iPhone and iPad do not usually switch wireless access points automatically when there are multiple devices delivering a wireless signal.
    The iOS devices tend to connect to the first wireless router that they see.....and if you move the iOS device near another wireless access point that has a much better signal......the iOS device will stubbornly try to hold onto the original wireless access point.
    Not much that you can do about that.....nature of beast with iOS devices due to their much simpler operating systems and antenna.
    If you want to move the iPhone or iPad to another area, try turning off Wi-Fi on the device, then move it to the other area near another access point, wait a minute or two, and then turn WiFi back on.  That will usually force the iOS device to pick up the signal from the closer AirPort access point.
    By contrast, a Mac computer will automatically switch wireless access points as you "walk" it through the house to pick up the access point with the strongest signal. That is the way that iOS should work as well, but we'll have to wait to see if Apple ever delivers on this.
    Lately....maybe due to an update....my iPhone will sometimes switch to a closer access point after a few minutes.  My MacBook Pro switches quickly and automatically as soon as it moves closer to another wireless access point as I walk it down the hall.

  • Setting a secondary option for JSF select menu

    Hi,
    Is it possible to set a second option to be selected in my selectOneListBox if the first one doesn't exist? Currently I have
    <h:selectOneListbox id="elementSelect" value="" size="1" required="false" onchange="loadElements()">
    <f:selectItems value="#{NPSAppConfig.elements}"/>
    </h:selectOneListbox>
    and sometimes I have a delete action that causes elements of that select menu to disappear (causing 'Validation Error "elementSelect": Value is not a valid option.' errors), in which case I'd like the default first option to be selected.
    Any thoughts and insights are appreciated, - Dave

    I don't fully understand how you have designed the flow of your action logic, but at least the backing bean must be notified of the delete action. Keep this in mind if you're deleting items using Javascript.

  • How to set auto delete option for old messages

    Hi All,
    Can any one help me on how to set auto delete option for mails older than 15 days from my Z10.
    James Kurian

    There is no such option in BB 10.
    However, you can achieve a similar result by setting your email sync timeframe to 14 days (the closest option).
    If you are using an ActiveSync account (such as Hotmail, Outlook.com), go to Settings > Accounts > select the account. Tap advanced at the bottom of the screen. Scroll to the very bottom, tap Sync Timeframe and set to 14 days.
    If you are using an IMAP account (such as Gmail or GMX), you will have to delete, then re-add your account.  The Sync Time frame is only avaialble during setup for these accounts.  When adding, tap advanced at the bottom of the screen and set the Sync Timeframe.
    Hope this helps.

  • DNS for multi-site same server scenario

    I setting up the DNS for a multi-site server, I understand that the second (and subsequent) site needs to be an alias of the first.
    I have tried setting up the DNS entires as aliases (CNAME) as well as A records to no avail.
    I am sure that it is me, but what am I missing?
    I am unable to access these sites locally so I am positive that no on can access the site outside of the firewall.
    Thank you!

    There's not much detail there to go on...
    In general, yes, you should create one A record for the host, e.g.:
    webserver.domain1.com. IN A 192.168.1.2
    Then other domains should, ideally, point to this via a CNAME:
    www.domain2.com. IN CNAME webserver.domain1.com.
    Technically, it's OK to have additional A records pointing to the same IP, it just makes it a little harder to keep track of, and changing server addresses is a PITA (there's only one place to change it when using CNAMEs).
    As to what your issue is, there's no way of knowing without seeing your domain records and the name server logs. bind is pretty good about logging errors and often provides a good clue when things are amiss. If I had to hazard a guess, though, I'd say you missed a trailing . on the CNAME records, but that's largely a shot in the dark without more information.

  • How to set up with cacheing DNS for local network?

    Our new Lion Server has a static IP Address pointed to over the internet by our registrar's zone file. Planning the Lion Server installation process with the intent of hosting Web, Mail and Open Directory services to a small number of users who are nearly all located off-site. I do also want Lion Server to be a caching DNS Server and DHCP authority on the local network to replace what dnsmasq does on our current Linux server.
    I am looking forward to offloading some of the lower level Linux administration tasks and putting myself in the hands of the Lion Server Setup Assistant and Server App :-) but at the same time don't understand some of  its assumptions and fear having to spend a lot of time experimenting and re-installing.
    So, specifically, I want the Server App to know that my Lion Server has a "Host Name for the Internet" but that the DNS it sets up will not be the DNS for my zone - I will be managing that through my registrar's interfaces.
    Second problem is my fnot understanding what name space devices on the local network will / should use. e.g.  The Linux server will be available for backups etc  on the local intranet (and optionally have a static ip address on the Internet) but MacBooks, PCs, iPads and iPhones will be served ip addresses by the Lion Server's DHCP. So will / should these dynamic devices have their machine names fully qualified by our domain name with RFC 1918 style ip addresses or something like .local?  How do I tell this to Lion's Server App / Setup Assistant? How easy is it to update these initial settings later?

    You do indeed need to have a master zone on lion server.  There's no way to get around that since Open Directory depends on Kerberos and Kerberos depends on the DNS.  LS scripts may see that the rDNS record exists, but I highly doubt that it'll auto configure everything for you... and given the number of possible variables, I bet that even if it worked something would need additional tweaking.
    Sounds like an interesting lab excersize.  You should try it on a test server!
    Again... you just need to folow the set up procedure that Lion Server presents you with. 
    It won't be smart enough to see your external records and use them to configure a key distribution center for your OD. 
    As far as your caching needs...  Could you set up your DHCP server to set the DNS server setting to show your internal server as the first hit, and your external as the second?  That way when the client requests a resolution it'll not get a hit on your local server but will from the external? 
    The question then is how long will it wait for a response from the first server?  Or will the first server respond with "I don't know" sending the client immediately to the second.
    The server set up that I have works similarly.  I have an internal master DNS that is replicated to a secondary.  The first DNS has an A record (community.server.com) that points to the INTERNAL ip address of the secondary server that's also running the web service.  The first server is running DHCP.  It tells the clients to use the first and second servers as it's DNS lookup. 
    Now...  Externally, my registrar hosts an A record for community.server.com that points to the external IP address of my router which then forwards the request to the proper port on the internal network.
    This way, the local clients internally look up and get a response locally when they go for community.server.com.  Externally, clients that look up community.server.com get the external connection to the router in my school.
    Yikes...  I fear that this is as clear as mud!
    -Graham

Maybe you are looking for

  • Delivery cannot be created (only 0 qty of material available )

    Hello All, I have created a sales order for material A on plant B for  one qty. The delivery date is 29.12.10 but the system has confirmed the schedule line with a delivery date of 3.1.11. The material availibilty date is  28.12.10. But when I create

  • How do i take a DVD Video and put it on my IPod?

    OLD   Windows ME   Do i have to create a file to put the movie in or something else?

  • Is the iSight camera in the MBA a lower quality one than the MB?

    My friend just bought a Macbook Air from eBay, the model identifier is "MacBookAir1,1". It's had a fresh install of Snow Leopard on it and all the updates have been installed. It might be my imagination but the built in iSight image seems way below p

  • GPS coordinates with minutes and seconds always 0

    I noticed the geotagged photos from my Android phone (Samsung Galaxy S3 with Android 4.3.1 Jelly Bean) have GPS coordinates always rounded to integers in Aperture. However when viewing the photo coordinates on the phone directly before importing in A

  • Code hints problem

    Hello, when typing object properties within method arguments the code hints disappear. How can I make them come back. eg. code hints visible up until the point I define the ".LINEAR property, Then they are gone. philShape2.graphics.beginGradientFill(