# MacOS DNS resolving issue

**URL:** <https://legacy-community.ine.com/t/macos-dns-resolving-issue/2334>\
**Category:** Cyber Security\
**Tags:** ine, security, lab\
**Created:** [May 23, 2022, 3:02pm UTC](https://legacy-community.ine.com/t/macos-dns-resolving-issue/2334 "2022-05-23T15:02:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vicky-5b6e52859be84e](https://avatars.discourse-cdn.com/v4/letter/v/85e7bf/32.png) [@vicky-5b6e52859be84e](https://legacy-community.ine.com/u/vicky-5b6e52859be84e)\
**Post date:** [May 23, 2022, 3:02pm UTC](https://legacy-community.ine.com/t/macos-dns-resolving-issue/2334/1 "2022-05-23T15:02:54Z")

</div>

Hello all,

I have encountered a DNS resolving issue using MacOS. I cannot access the lab even though with VPN connected (with tun0) and followed [this guide](https://legacy-community.ine.com/t/tip-tricks-for-lab-exams-connections/683), but it doesn’t work on MacOS. One of the issue is the `chattr` command is not found. Using `chflags` as stated [here](https://forums.macrumors.com/threads/chattr-command-not-found-alternatives.2034471/) is not working either. But when I tried in VMware fusion + Kali image, it worked. Any workaround of `chattr` to be used in MacOS? Or perhaps any other workaround to resolve the DNS to access the lab. I tried the restart the network, flush the DNS from browser, and many ways provided in this forum but none of them really works. Because I prefer using bare machine instead of VM. Thank you in advance!

Edit: for the additional information, I’m using MacOS Monterey 12.3.1 on Macbook Pro M1 (ARM architecture).
