Skip to main content
Sikuliaq
New Member
November 28, 2023
Question

Migrate dnsmasq DNS Database from old Linux server into FortiGate

  • November 28, 2023
  • 2 replies
  • 1165 views

I have an aging Linux box (Debian 7) that is currently hosting our DNS via dnsmasq.

I want to spin up our new FortiGate as the DNS server so I can retire this old box.

However, I can't seem to find any articles on how one might migrate an existing DNS database into the fortigate.

Any tips on how one might do that?

 

Thanks

 

2 replies

hbac
Staff
Staff
November 29, 2023

Hi @Sikuliaq,

 

I don't think it is possible to migrate the database to FortiGate. However, it is possible to config zone transfer on the FortiGate. But I'm not sure if it'll work with Linux. Here is an example using Windows server: https://community.fortinet.com/t5/FortiGate/Technical-Tip-DNS-database-with-FortiGate-as-a-slave-to-a/ta-p/192942

 

Regards, 

sw2090
SuperUser
SuperUser
November 30, 2023

There was a similar question in support forum about migrating dhcp reservations.

I'd say its rather the same here:

 

you will in some way have to convert your dnsmasq database into FGT Cli script to import it...

Also maybe hbac's link is annother solution. Thus that would require to turn the FGT into a DNS master afterwards to get rid of the dnsmasq.