How to properly do DNS in Azure with Private Resolver | An introduction and demo

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 14

  • @PetterTech
    @PetterTech  7 месяцев назад +1

    How are you handling DNS in your environments? Are you using private resolver? A vm in azure? Static records in DNS?

    • @rustampiriyev2056
      @rustampiriyev2056 6 месяцев назад

      next question 🙂: do we need change on all vnets dns server to inbound address? include the inbound and outbound connected vnets?

    • @PetterTech
      @PetterTech  6 месяцев назад

      Yes, all vnets would need to have DNS pointing to the inbound address. And a way of reaching it of course :)

    • @rustampiriyev2056
      @rustampiriyev2056 6 месяцев назад

      @@PetterTech which dns server address should be on vnet for inbound?(private resolver)

  • @tigardis
    @tigardis 18 дней назад

    Curious if you've tried this with a VNet Gateway using P2S (OpenVPN using Entra for auth)? Does not work for me, I can see the query go out on a capture, but there's no response from the private resolver. If I set up a VM to forward requests to either Azure DNS or the private resolver, that works. Seems like Azure is blocking the response if it tries to go back out through the Gateway. I've had a ticket open for 125 days now and their support can't figure it out.

    • @PetterTech
      @PetterTech  8 дней назад

      I haven't tried it with P2S yet no. I'll have to add it to my list of things to try :)

  • @m1ndintheweb
    @m1ndintheweb 2 месяца назад

    Thank you for the video! I have a question regarding the ruleset link you created. According to Microsoft's documentation: "If you use the ruleset link option and there is a forwarding rule with the inbound endpoint as destination, do not link the forwarding ruleset to the Hub VNet. Linking this type of ruleset to the same VNet where the inbound endpoint is provisioned can result in a DNS resolution loop."
    Why did you direct your link to the Hub VNet instead of creating the link to the Spoke VNet, which might have been simpler?

    • @PetterTech
      @PetterTech  2 месяца назад

      I believe my thinking was that by linking it to the hub vNet instead of the spoke vNet, any additional spokes created would not need to have a link to them as well. At least as long as they point to the inbound endpoint for DNS.
      That way the setup scales better since you have less links. Even though that can lead to DNS resolution loops, that should be limited to queries originating from the onprem vNet and it can be avoided by having the DNS server there (10.0.0.5) always use itself as the primary DNS server.
      That being said, if in doubt you should follow the documentation. That way you will have an easier time if you ever need to create a support ticket for anything in the setup 😉

  • @scott2495
    @scott2495 3 месяца назад +1

    You are a really good teacher. Dont stop!

  • @AdjeiGodfred-m2v
    @AdjeiGodfred-m2v 3 месяца назад

    Petter, this is really good content

    • @PetterTech
      @PetterTech  3 месяца назад

      Thank you! Really glad to hear that ❤️

  • @rustampiriyev2056
    @rustampiriyev2056 6 месяцев назад

    thank, like your content! helps a lot

    • @PetterTech
      @PetterTech  6 месяцев назад

      Glad to hear that!