We are starting CHRISTMAS Sale. Get 30% OFF on lifetime licenses with code: FYSKK72

Custom dns zone file Topic is solved

Questions regarding the DNS Server
BIND
MSIHE
Posts: 10
Joined: Tue May 31, 2016 5:31 pm

Custom dns zone file

Postby MSIHE » Tue Jun 14, 2016 8:44 pm

Hi,

I find this "problem":

When i setup manually "/home/username/conf/dns" example.com.db file and save it, settings wont update in to the vesta system > DNS > "list records".

Template: child-ns

mann
Posts: 1
Joined: Fri Sep 22, 2017 3:54 pm

Re: Custom dns zone file

Postby mann » Fri Sep 22, 2017 3:59 pm

Hello everyone,

I know this thread is over a year old but I have the exact same question and I can't find an answer anywhere.

I prefer to edit my DNS zone records directly through the CLI. If I edit my DNS zone files the changes do not reflect on the VestaCP web interface.

For example:

I edit

Code: Select all

/home/username/conf/dns/example.com.db


Is there a way to force Vesta to refresh its DNS config from the filesystem?

gecube_ru
Posts: 138
Joined: Thu Jun 22, 2017 1:21 pm

Re: Custom dns zone file

Postby gecube_ru » Sun Sep 24, 2017 12:49 pm

Vesta stores it's config into /usr/local/vesta/data/users/<username>/dns catalogue. It's the place for the files of zones. They are refreshed when you change the DNS settings via the web console of Vesta or with the help of the Vesta's CLI.
It is the source for the named zones. So if you edited the named zone, of course, the vesta config's are not changed and sometime after you changes will be overwritten by the panel.


Return to “DNS Server”



Who is online

Users browsing this forum: No registered users and 3 guests