-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetworkHelper create new vnet with DNS setting can't resolve anything #656
Comments
@netwmr01 are you saying you are able to configure the DNS server but it can't resolve queries? To diagonise - are you able to see the DNS settings in the virtual network using any tool such as powershell?
|
If the DNS settings are set in the server but still it fails to resolve then we need to check any additional configuration is required in the VNET. |
what I am trying to do is not creating a dns server. This VM is created using template base deployment method without me specifying any DNS when creating the VNet. I am expecting something like this However, SDK VM using NetworkHelper class give me the following: |
@netwmr01 Ok, so what you are saying is: Creating a VNet via NetworkHelper in the SDK sets nameserver as 10.1.1.1. This nameserver cannot resolve DNS queries. Basically, NetworkHelper should be fixed (possibly by not setting explicit DNS) so that created VNet behaves like the one created using template. Are we on the same page? |
Looks like given it an empty arraylist will resolve this problem and make the VNET use azure provided DNS. |
Closing as resolved. |
The text was updated successfully, but these errors were encountered: