I have coredns setup at home,
whenever I am connected to my office via vpn from office macbook It uses DNS that gets setup by vpn software and I do not have privilages to