YaST/HTTP Server/integration with DNS

From openSUSE

Integration in this case means that you can configure DNS server records while adding new virtual hosts for apache HTTP server (with YaST, both on the same machine)


yast2-dns-server

First - DNS server must be installed, enabled and running:

Image:Dns-service.png

Then add new zone (it must be type "Master"):

Image:DNS-add-zone.png


yast2-http-server

Then in yast2-http-server module add new virtual host. Server name belongs into dns zone "example.com" we configured in yast2-dns-server:

Image:HTTP-add-vhost.png

Virtual Host ID must be valid IP address


And here we can see there is button "Add to Zone" which in this case will add record www.example.com with IP address 10.20.30.40 into example.com zone

Image:HTTP-vhost-details.png


yast2-dns-server

When you open YaST DNS server again, you can see that new record for "example.com" zone was correctly added.

Image:DNS-zone-done.png