# named.conf question

**URL:** <https://forums.suse.com/t/named-conf-question/32785>\
**Category:** SLES Configure-Administer\
**Created:** [August 7, 2018, 8:35pm UTC](https://forums.suse.com/t/named-conf-question/32785 "2018-08-07T20:35:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cisaksen](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cisaksen](https://forums.suse.com/u/cisaksen)\
**Post date:** [August 7, 2018, 8:35pm UTC](https://forums.suse.com/t/named-conf-question/32785/1 "2018-08-07T20:35:39Z")

</div>

If I modify the named.conf file, will it get overwritten when named is updated by regular updates and patches ?

We are moving our compiled based named files (named.conf) onto the system installed named on SUSE 12sp3 and need to add entries to the options section.

I first tried to just use our existing named.conf by adding it to /etc/named.d then adding the entry in /etc/sysconfig/named to include our file, but it didn’t like the 2nd reference of the options block.

Thanks

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [August 8, 2018, 3:36am UTC](https://forums.suse.com/t/named-conf-question/32785/2 "2018-08-08T03:36:40Z")

</div>

Probably not; configuration files are marked as such in RPMs, and then,  
depending on the package, they are either left alone, or they are renamed  
when a new file is put in place, so you can easily revert the change. To  
verify this, use the following command and verify the ‘c’ is present next  
to the file name to indicate it is recognized as a configuration file:

```auto
rpm -qfVv /etc/named.conf | grep named.conf
```

The output should look something like this:

```auto
5S.T..... c /etc/named.conf
```

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.
