0

MacOS DNS profile & nextdns cli

Hello, I would like to report that when I have the profile enabled on my Mac with nextdns cli running, I can observe in the logs that the request are sending by, sometimes, the profile and sometimes with the config of nextdns cli.

Does anyone have the same issue ?

6 replies

null
    • R_P_M
    • 11 mths ago
    • Reported - view

    I’m not sure there will be many people using both together for a meaningful reply to appear. 

    • puchijon
    • 11 mths ago
    • Reported - view

    Well, I use nextdns cli for my other devices on my network, what do you recommend ?

      • underpants_gnome
      • 10 mths ago
      • Reported - view

      Johnny BOI Designate a computer on your network as the "server". Install NextDNS CLI there, and have all your network clients use that server as their DNS server on your network. For your laptop, use the profile, and be aware that queries from your laptop will be sent via profile. If you want, you can point both "Mac OS profile" (not to be confused with your NextDNS profile) and your network NextDNS CLI to use the same NextDNS profile, or keep them separate as desired. I'm doing this setup at home. My laptop at home uses the MacOS profile, and uses whatever NextDNS profile is configured in the Apple MacOS profile, meanwhile my other standard DNS clients use the NextDNS CLI server as configured. It works pretty reliably and my Mac OS client always shows the log entries for it on the correct profile at NextDNS.io.

      • puchijon
      • 10 mths ago
      • Reported - view

      Underpants Gnome Hi, thanks for your answer, that's what I'm doing but on the hosts file I registered every IP address for every devices on my network so that's why maybe my Macbook send sometimes with the profile and sometimes with Nextdns cli ?

      • underpants_gnome
      • 10 mths ago
      • Reported - view

      Johnny BOI Your OS's DNS resolver stack will usually reference the hosts file first. I would avoid using the hosts file if possible, and utilize internal DNS from your LAN.

      Also, be sure to configure browsers like Chrome, Firefox, and Edge to not utilize their built-in DNS resolver but instead utilize the host operating system's DNS resolver stack. Then you will have queries handled by your operating system, and the configuration  you defined for your Mac OS profile will handle all requests.

      • puchijon
      • 10 mths ago
      • Reported - view

      Underpants Gnome Yes, I got what you explained, but in this case, no browsers have a defined customized DNS and I primary use Safari like 95% of my time. My Macbook with the profile and the entry in the hosts file of my Raspberry Pi is also the same for my iPhone but my iPhone only send request according to the profile, not the hosts file

Content aside

  • 10 mths agoLast active
  • 6Replies
  • 211Views
  • 3 Following