(DNS package) Let's create a new PTR record.... oh wait, what...?

Currently reading
(DNS package) Let's create a new PTR record.... oh wait, what...?

Shadow

Subscriber
467
161
NAS
DS216+II, DS118, DS718+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. Android
Something is missing here, init...?

1591657860591.png
 

fredbert

Moderator
NAS Support
Subscriber
1,623
674
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
There certainly is something odd going on there.

You're working on a reverse zone and the Create menu is populated for a forward zone.
 

Shadow

Subscriber
467
161
NAS
DS216+II, DS118, DS718+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. Android
Created a Synology Support ticket..

Meanwhile, I could try to update the DNS files directly? Does anyone know where these files are stored and are they edittable with 'Vi' tekst editor or something while in SSH with the NAS?
 

fredbert

Moderator
NAS Support
Subscriber
1,623
674
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
You can use Export Zone to export the zone. And Create has an Import Zone item.

Exporting 'complete zone' creates a zip with all the records in it.
 

Shadow

Subscriber
467
161
NAS
DS216+II, DS118, DS718+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. Android
You can use Export Zone to export the zone. And Create has an Import Zone item.

I'd rather not do that, because that breaks the relationship with slave servers.
 

fredbert

Moderator
NAS Support
Subscriber
1,623
674
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
/var/packages/DNSServer/target/named/etc/zone/master

Don't know if files are saved in a database and recreated on rebuild, or when they would be read back in.
 

Shadow

Subscriber
467
161
NAS
DS216+II, DS118, DS718+
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. Windows
Mobile operating system
  1. Android
/var/packages/DNSServer/target/named/etc/zone/master

Don't know if files are saved in a database and recreated on rebuild, or when they would be read back in.

Thanks, I'll test this with vDSM.
 

fredbert

Moderator
NAS Support
Subscriber
1,623
674
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
I found it by first ps -ef | grep -i dns to find a process with /var/packages/DNSServer/target/named. Then guessed the place to look ls -lR etc. This showed my zones as file names in etc/zone/data and etc/zone/master.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Trending threads

Top