Skip to content
Getting started on hosting and managing your domains using Java
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/microsoft/azure/management
.gitignore
CONTRIBUTING.md
LICENSE
README.md
pom.xml

README.md

page_type languages products extensions
sample
java
azure
services
Dns
platforms
java

Getting Started with Dns - Manage Dns - in Java

Azure DNS sample for managing DNS zones.

  • Create a root DNS zone (contoso.com)
  • Create a web application
  • Add a CNAME record (www) to root DNS zone and bind it to web application host name
  • Creates a virtual machine with public IP
  • Add a A record (employees) to root DNS zone that points to virtual machine public IPV4 address
  • Creates a child DNS zone (partners.contoso.com)
  • Creates a virtual machine with public IP
  • Add a A record (partners) to child DNS zone that points to virtual machine public IPV4 address
  • Delegate from root domain to child domain by adding NS records
  • Remove A record from the root DNS zone
  • Delete the child DNS zone

Running this Sample

To run this sample:

Set the environment variable AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.

git clone https://github.com/Azure-Samples/dns-java-host-and-manage-your-domains.git

cd dns-java-host-and-manage-your-domains

mvn clean compile exec:java

More information

http://azure.com/java

If you don't have a Microsoft Azure subscription you can get a FREE trial account here


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

You can’t perform that action at this time.