Create a DNS record that switches IP address based on active server

Good morning,
  I am trying to create a DNS record that will automatically update which server is the "primary" server.  We use a utility to lock the data and mirror between two servers on our network.  I have been investigating scripting the
DNS record edit when we change over to the backup server but am still working on that.
So essentially,
I have SERVER-SQL record created.  When SERVERSQL1 is the primary with an ip of 1.1.1.1, I want SERVER-SQL to have the IP address of 1.1.1.1.  When SERVERSQL2 is the primary with an ip of 2.2.2.2, I want SERVER-SQL record to have the IP address
2.2.2.2.
Any help would be appreciated.

Hi,
According to your description, I suppose that you have two SQL server, one is active and another is passive. I noticed that the
name is record is presented as SERVER-SQL which is different from both of the two servers. So we need create a CNAME record here.
Based on my knowledge, A record can be created dynamically. But we still need create CNAME record manually. So I think the solution
is back to the scripts.
Hope this helps.

Similar Messages

  • How to create a DNS record for a domain itself (without a hostname)

    Hi,
    Normally, you can create a DNS record that points to the zone itself, e.g.:
    @               10800 IN A    196.197.200.201
    How do you accomplish that on a Mac OSX Lion Server? The DNS requires you to enter a hostname and it does not accept "@" as the hostname as it normally appears in the zone file.
    (manually modifying the host file does not work - I tried that ;-) )
    Any help is appreciated
    Thanks
    Bjoern Dirchsen

    Create either a blank record with a ., or a FQDN such as 'domain.com.' (note the trailing dot). Either of these should map to the domain name.

  • How do I create a DNS record on my Mac Server?

    How do I create a DNS record on my Mac Server?

    The following is info that I found in another post that I have been trying to follow.
    MrHoffman      New England
    Re: Configure DNS - OS X Server Next Steps
    Feb 13, 2011 6:36 AM (in response to Jimbooooooo)
    You're setting up internal DNS services, you referenced your ISP DNS servers and you should not have, and now those servers have no translations for your hosts. This is a common misconfiguration.
    See [configuring DNS on Mac OS X Server|http://labs.hoffmanlabs.com/node/1436] for how to set up your internal DNS server.
    And if there are any references to your ISP DNS servers here (within your client settings, within your server settings, your Airport settings, etc), then you're usually going to have DNS and connectivity problems. You're running a server now, so you'll be running your own services, and (particularly because of NAT here) referencing only your own DNS server(s).
    You may be setting up external DNS (if and when you need that), but that should happen after you set up your internal DNS. The above article has a link to setting up external DNS, when you get around to that, if/when you need in-bound connections into your LAN.

  • I am unable to aceess torrentz website.its coming that your IP address is abusing this server and most common reason is broken RSS reader

    i am unable to aceess torrentz website.its coming that your IP address is abusing this server and most common reason is broken RSS reader

    I have discovered it is most likely because you have Ad-Blocking software.
    If your posting on a Mozilla site, then you probably (like me) use FireFox and probably also have the addon: AdBlock Plus, like I also do. I simply disabled on Torrentz.eu (also Torrentz.me would cause this problem) & when I refreshed it allowed me again.

  • HT204053 The SIM card that you currently have installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert ano

    sir have this error so what can i do The SIM card that you currently have installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.

    It looks like the iPhone is locked to a carrier that is not the one you are trying to use.
    You need to determine which carrier it is locked to and then contact them to see if they are willing to authorise the unlocking of your iPhone.  As ManSinha mentioned, many carriers will only authorised the unlock if requested by the customer who had the contract with them for this iPhone.
    Remember that only the carrier who owns the lock on your Iphone can authorise Apple to unlock the iPhone in their servers.  You need to contact the carrier or have the previous owner of the iPhone request the unlocking.

  • HT1937 the SIM card that you currently have installed in this iPhone is form a carrier that is not supported under the activation policy that is currently assigned by the activation server.this is not a hardware issue with the iphon. please insert another

    the SIM card that you currently have installed in this iPhone is form a carrier that is not supported under the activation policy that is currently assigned by the activation server.this is not a hardware issue with the iphon. please insert another SIM card from supported carrier or request that this iPhone be unlocked by your carrier.

    Similar issue
    here is the description
    I have similar message but for me the Verizon guys said they unlocked it and when I actually connected to iTunes using Verizon sim card and then did the restore as new iphone then everything worked well and at the end i saw the message "Congrats, your iphone is now unlocked" and then I did the set up as new iphone for my kid.
    Once new apple ID was set up, then I removed the verizon SIM and then inserted prepaid t-mobile sim card and after the phone booted up then I got the same message like  above...."not supported"
    What do i do now? I think the phone is unlocked right?
    Also do I need to insert Verizon SIM card and do restore as NEW and this time do not set up the iphone but change the SIM card and then set up or ?
    I am confused and other threads were talking that if you get congrats message then u shd be good to use other SIM cards....please help!!!

  • HT1414 The Sim card that you currently have installed in this iphone is from a carrier that is not supprotedunder the activation policy that is currently assigned by the activation server. this is not a hardware issue with the iphone. please insert anothe

    The Sim card that you currently have installed in this iphone is from a carrier that is not supprotedunder the activation policy that is currently assigned by the activation server. this is not a hardware issue with the iphone. please insert another sim card from a supported carrier or request that this iphone be unlocked by your carrier.please contact apple for more information.

    I have similar message but for me the Verizon guys said they unlocked it and when I actually connected to iTunes using Verizon sim card and then did the restore as new iphone then everything worked well and at the end i saw the message "Congrats, your iphone is now unlocked" and then I did the set up as new iphone for my kid.
    Once new apple ID was set up, then I removed the verizon SIM and then inserted prepaid t-mobile sim card and after the phone booted up then I got the same message like  above...."not supported"
    What do i do now? I think the phone is unlocked right?
    Also do I need to insert Verizon SIM card and do restore as NEW and this time do not set up the iphone but change the SIM card and then set up or ?
    I am confused and other threads were talking that if you get congrats message then u shd be good to use other SIM cards....please help!!!

  • Creating native MSI bundle that is "per user"-based (not "system"-based)

    I am trying to collect all information in order to create a native MSI bundle that is "per user" based - but failed.
    This means:
    (.) The MSI should install into the user's local directory
    (.) There should be no admin permission required
    When using the default <fx:deploy ... nativebundle="msi" ...>-ANT-element, then the MSI is created "system wide" based, installing in "/Prorgram Files" and requiring an admin permission.
    In the Oracle docu (http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm) there is no concrete hint how to create "per user" based MSI files. Maybe, someone already has done this and could tell the imprortant steps...
    THANKS!
    PS: I know - using the .exe-bundling with Inno Setup will create "per user" based installers by default, but I do not want to use .exe if possible

    Try
    <fx:preferences install="false"/>
    although the parameter name doesn't give much indication that it's system vs per user :)
    I checked that the MSI bundler code and it should honor this.
    Let me know if this works (I don't have time to try myself today and am leaving on Holidays for a week so won't be able to check until I'm back).
    Mark

  • Changed Apple ID email Ok,however old email still linked to iCloud lost that login password and can't retrieve or change it because that old email address is not active anymore.

    Hi all,
    I had to change ISP and therefore I had to change my email address.
    Did that easily for my Apple ID for both iTunes, iPhone and iPad.
    However the email address for the iCloud somehow stayed attached to my old dead email account.
    I can't delete the account off the iPad for some reason it still comes up with the old email address for the Apple ID.
    I can't get an email sent to rectify it as it's dead! I can't reset it as my current Apple ID password is incorrect for that old email address.
    Any ideas on how to rectify the issue?
    Thanks.

    If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • HT4623 Hi, I have taken over my daughters iphone 3gs and updated it and restored iphone but now it will not configure with my itunes or the original sim that was in it, saying "the activation server is temporarily unavailable. And will not connect to itun

    Hi I have taken my daughters iphone and wiped it and resetted it but it will now not let me activate it via itunes and will not even go onto the home screen of the phone so i can go to settings etc and i do not know what to do to enable the phone to be activated

    "We're Sorry, Activation Server Temporarily Unavailable, contact Customer Care?"
    99.9% of the time, the cause of this issue is the fact the phone was jailbroken/hacked to unlock it for use on networks other than the network the phone was originally locked to. Apple maintains a database of officially unlocked iPhones, and when Apple's servers detect phones such as yours, activation stops & you get the message you got.
    So, you need to get a sim card from the carrier the phone was originally locked to, or get it officially unlocked, if you want to activate it. Because it appears that it was not officially unlocked.

  • Creating a DNS Record for a Host with Two or More IP???

    Can we create DNS A Record for a Host with Two or More IP ... ( we like to use my website  "mysite.com" pointing to two Ips )
    Please help...

    Sure, no worries.
    In a production environment DNS will query always the first record it will stores in cache, you need to find a dynamic or NLB way to achieve the automatic fail over else when you will have an outage with the first IP, then you need to ask your clients to
    clear the cache and register to DNS again, this i will not suggest in a production environment, lots of manual efforts and doesnt sound like a solution in a production environment, i would suggest you to explore windows NLB, it's easy to set and use the OS
    license.
    Thanks
    Inderjit

  • Creating a little GUI with adding DNS record functionality

    Hi all,
    Creating a DNS record (A record) is pretty straight forward in Powershell. I wonder if somebody knows how to create a little GUI with the powershell commands in the background to create DNS records.
    For example something like a HTML form in where u can enter the DNS name, the Zone and the IPv4 address. Click Add and Powershell will add it on the background. I cannot find any good information on this when i google on it.
    Thanks!

    Hi Bennekommer,
    I‘m writing to check if the suggestions were helpful, if you have any questions, please feel free to let me know.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Correct way of creating DNS record

    I want to create a DNS record for below
    Project.mumbai.contoso.com with IP 215.67.X.X
    I already have existing forward lookup zone created for contoso.com.
    Is it better to create a host record 'Project.Mumbai' with ip 215.67.X.X?
    or create one more forward lookup zone 'Project.Mumbai.Contosso.com' and cerate A record for 'Projec'?
    Mahi

    Hi Mahi,
    Are you asking if you should create "project.mumbai" in the contoso.com domain, or if you should create "project" in the mumbai.contoso.com domain?
    The choice depends on how you want to manage these records. If there will be a need to manage contoso.com and mumbai.contoso.com separately, then you should create two domains. You might have this need, for example, if the contoso.com domain is very
    large, or if you want to host mumbai.contoso.com on a different DNS server, or if mumbai.contoso.com corresponds to an Active Directory domain elsewhere.
    If none of these things are true, it will probably be easier to manage a single domain so you can just create contoso.com and add the host project.mumbai in this single domain.
    -Greg

  • Creating a Directory Record

    I need to setup my cluster nodes I have the head node configured all looks good. I need to use server assistant - offline mode to create the directory record that will be discovered through dhcp. Every thing works fine until I get to the Directory Usage screen. I set directory usage drop down to connected to a directory system. Then connect to an open directory, in that drop down. Then IP address or DNS name is entered. I hit continue then is says The user name or password you entered is not correct. I did not enter a user name or password. What is it talking about?

    Hi,
    Please let me know what is the length of the structure in the Open Hub with the delimiters.
    Btw,
    You can create a custom field in the open hub maintenance and specify its size to whatever size you desire with the delimiters and then assign all the source fields to this through a routine.
    Regards,
    Saikat

  • How do I setup a DNS record to point to an internal IP with a port.

    I am trying to setup a DNS entry on my AD server to point to a web sever that I have setup to run certain services.  All of these services run through IIS on port 82 for example service A is internally 192.168.0.1:82/info/login and service B is 192.168.0.1:82/tech/login.
     I am trying to give these services easy to use names like for example info.mycompany.com and tech.mycompany.com so that it is easy to access for the employees but I am obviously missing something because I have had no luck setting up anything.  My
    company is still using SBS 2003 as it's AD and DNS server so I am working with flint and bear skin here.
    I am also trying to do the same thing for the external access to these services but where as I have the internal address for these services I have the external static IP.  When using the external IP with the port from outside the network everything
    works fine but I would like for it to to have a simple name identical to the internal names but accessible from the outside.  I frankly feel out of my depth on both of these issues and I would really appreciate any help that can be lent.  Thank you. 

    You cant set a dns record (that would be used by a browser) to point to an ip and port, srv records can but that requires the application to look them up.
    To have  info.mycompany.com  point to 192.168.0.1:82/info/login you
    would add a cname or A record to the dns pointing to that IP, then in IIS you would assign that dns name to the host headers. Also in IIS you would need to use
    URL rewrite plugin with this you would setup a redirect for that host header {HTTP_HOST} to point to that link.

Maybe you are looking for

  • New User - Wireless Internet Problem

    Hello all. I'm a brand new Mac user but I am becoming extremely frustrated with connecting my Mac Mini to my existing wireless network. I have WEP enabled and I know for a fact that I'm using the correct password. Just to be sure, I disabled the pass

  • How to clear the recent SAVE locations menu

    When I save a new document, a menu of locations appears where I have recently saved other documents. How can I clear this menu? Clearing the Recent Items menu doesn't do it. I must have inadvertently saved a file to my backup drive once, because the

  • Question about For Loop in Procedure

    In my procedure, I'm trying to insert a value for estValue for the first 50 records, a value for entValue for the second 50 records and a value for both entValue and corValue for the last 50 records. At record 51 in the loop, estValue should no longe

  • Project Server 2010 - large number of security categories

    I am searching for somebody who has experiance with a large number of security categories. I am talking about a number of 1000 different PS security categories in one instance. Beside the forseeable usability issues, are there any technical side effe

  • Please recommend Bluetooth, wireless,or wired game controller?

    Hello. I am curious if anyone out there would have a suggestion for a game controller for on-the-road wit my Late 2008 Macbook ? Bluetooth, wireless,or wired? Brand? Thanks