# How do I disable Pi-hole automatic add 127.0.0.1 in resolv.conf

**URL:** https://discourse.pi-hole.net/t/how-do-i-disable-pi-hole-automatic-add-127-0-0-1-in-resolv-conf/18248
**Category:** Help
**Created:** [March 11, 2019, 3:02am UTC](https://discourse.pi-hole.net/t/how-do-i-disable-pi-hole-automatic-add-127-0-0-1-in-resolv-conf/18248 "2019-03-11T03:02:28Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![s97t9t5f](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/s97t9t5f/32/6403_2.png) [@s97t9t5f](https://discourse.pi-hole.net/u/s97t9t5f)
#### Post date: [March 11, 2019, 4:02am UTC](https://discourse.pi-hole.net/t/how-do-i-disable-pi-hole-automatic-add-127-0-0-1-in-resolv-conf/18248/7 "2019-03-11T04:02:44Z")

</div>

I have client connecting to my Pi-hole server (debian) IP: 192.168.1.2  
My point is, on server it self, I dont like pihole always auto edit resolv.conf 127.0.0.1 to do DNS resolution. Anyway to disable or I can config this script?  
It just simple for server it self to use 9.9.9.9 or 1.1.1.1 upstream server.  
It wont affect those client to use 192.168.1.2 as DNS server.

---

_[View the full topic](https://discourse.pi-hole.net/t/how-do-i-disable-pi-hole-automatic-add-127-0-0-1-in-resolv-conf/18248)._
