cloudflare / cloudflare/cloudflared
💡Reset DNS on Mac when re authenticated?
Open
Priority: Normal
Type: Feature Request
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to have the Cloudflared client automatically issue a dns reset when reconnected? We have a 24 hour timeout for the client to ensure that terminated employees or people that we have disconnected don't stay logged on longer than they should. When a valid user reconnected they sometimes on a Mac need to issue:
sudo dscacheutil -flushcache;
sudo killall -HUP mDNSResponder
or on a pc:
ipconfig /flushdns
Is there a way to have the DNS automatically purged when the client reconnects to keep the user from needing to these steps?
Contributor guide
Assessment
This issue has not been assessed yet.