DNS Question regarding Migrating to new servers - dns

I am after some advice
I have been tasked with updating our aging DNS servers,
We are a webhosting company and have our own internet facing DNS servers.
They are currently running Bind on centos.
I have fully setup Powerdns on Debian 11.
What would the best way be to migrate over to the new servers.
Is it as simple as powering down current and allocating their IP's to my new servers?
or are there further steps i should look into?
Any advice is appreciated

Related

Passthrough proxy to a different IP address

We run a multi site platform and customers configure their domains to point to our entry server IP for domain routing using an A record.
We are looking at migrating to a whole new setup that's more scalable.
However we don't have the ability to control everyone's DNS settings.
How can we setup a passthrough proxy or reverse proxy on our ubuntu box? Maybe Nginx? We currently have apache running.
Thanks!
Run DNS server on your ubuntu box and rewrite A records for domains you want to point to new server. I am using DNS manager software from ispSystems for the same reason.

Deploy a MEAN stack application to an existing server

I have a Ubuntu Server on DigitalOcean which hosts a website, and a Windows Server on AWS which hosts another website.
I just built a mean.js stack app on my MAC, and I plan to deploy it to production.
It seems that most of the existing threads discuss about using a new dedicated server. For example, this thread is about deploying on a new AWS EC2 instance; this video is about deploying on a new Windows Azure server; this is to create a new droplet in DigitalOcean.
My question is, is it possible to use an existing server (which hosts other websites), rather than creating a new server? If yes, will there be any difference in terms of performance?
My question is, is it possible to use an existing server (which hosts other websites), rather than creating a new server?
Yes. Both Windows and Ubuntu allows you to deploy multiple applications on same instance.
For Ubuntu you can read this post which will help you server multiple apps.
In this example used Nginx, but you can follow to this example and use it without any server like Apache or Nginx. If you need subdomains I would suggest to use Apache virtual hosts with reverse proxy module and pm2
For Windows and its IIS I would suggest to use iisnode, in google you can find a lot of articles how to configure it.
will there be any difference in terms of performance?
It is depended on your applications, if you are already serving applications which handles huge traffic and need CPU and memory, I would not suggest you to use multiple apps on same instance, but if you are going to use simple web apps, you can easily use same instance.
Hope this answer will help you!

Setting up datawrapper on local server - understanding domains

It's been a long while since I setup my own LAMP server before the days of VPS. I decided to cancel my basic webhosting and go the route of a cheap VPS with Ubuntu where I can setup my own LAMP server.
My whole goal for this is to run and setup pageflow.io and datawrapper. Following the guide here https://github.com/datawrapper/datawrapper/wiki/Installing-Datawrapper I see it says
Note that Datawrapper is designed to run on its own domain, so running
it inside a sub-directory (e.g. http://localhost/datawrapper) won't
work.
I get the process for this editing a virtual host in apache config but what does " run on its own domain" exactly mean? Is this going to conflict with anything else I install by point it to /www?
Thanks for any help, I am kind of confused with some of the new terminology i have not yet been exposed to. Any good reading material/explanations is appreciated!
thanks

Windows Active Directory Domain setup remotely through univention using samba4

I have a slight problem bit of the back story. recently ive been trying to test out univention which is a linux distribution with the goal of being able to replace Microsoft active directory.
I tested it locally and all went reasonably well after a few minor issues i then decided to test it remotely as the company wants to allow remote users to access this so i used myhyve.com to host it and its now been setup successfully and works reasonably well.
however
my main problem is DNS based as when trying to connect to the domain the only way windows will recognize it is by editing the network adapter and setting ip v4 dns server address to the ip address of the server hosting the univention active directory replacement. although this does allow every thing to work its not ideal and dns look up on the internet are considerably longer. i was wondering if any one had any ideas or have done something similar and encountered this problems before and know a work around. i want to avoid setting up a vpn if possible.
after initially registering the computer on the domain i am able to remove the dns server address and just use a couple of amendments to the HOST file to keep it running but this still leads to having issues connecting to the domain controller sometimes and is not ideal. any ideas and suggestions would be greatly received.
.Michael
For the HOST entries, the most likely issue is, that there are several service records a computer in the domain needs. I'm not sure, whether these can be provided via the HOST file or not but you'll definitely have authentication issues if they are missing. To see the records your domain is using issue the following commands on the UCS system.
/usr/share/univention-samba4/scripts/check_essential_samba4_dns_records.sh
For the slow resolution of the DNS records there are several points where you could start looking. My first test would be whether or not you are using a forwarder for the web DNS requests and whether or not the forwarder is having a decent speed. To check if you are using one, type
ucr search dns/forwarder
If you get a valid IP for either of the UCR Variables, dns/forwarder1, dns/forwarder2 or dns/forwarder3, you are forwarding your DNS requests to a different Server. If all of them are empty or not valid IPs then your server is doing the resolution itself.
Not using a forwarder is often slow, as the DNS servers caching is optimized for the AD operations, like the round robin load balancing. Likewise a number of ISPs require you to use a forwarder to minimize the DNS traffic. You can simply define a forwarder using ucr, I use Google on IPv4 for the example
ucr set dns/forwarder1='8.8.8.8'
The other scenario might be a slow forwarder. To check it try to query the forwarder directly using the following command
dig univention.com #(ucr get dns/forwarder1)
If it takes long, then there is nothing the UCS server can do, you'll simply have to choose a different forwarder from the ucr command above.
If neither of the above helps, the next step would be to check whether there are error messages for the named daemon in the syslog file. Normally these come when you are trying to manually remove software or if the firewall configuration got changed.
Kevin
Sponsored post, as I work for Univention North America, Inc.

Manage DNS Server from Gnome

Is there a UI component for Gnome (or perhaps web-based) that allows you to setup and manage a DNS server (Bind or otherwise)? I've worked with web-based DNS services and Windows DNS but have never worked with Bind or another Linux DNS Server directly. I'm hoping there's a UI that can ease me into creating a simple DNS setup for my tiny local network. My server is running CentOS 6.2.
Any recommendations would be greatly appreciated!
I've used webmin and virtualmin. They were easy to use. If all you want to manage is Bind, they are probably overkill.

Resources