DNS forwarder wo eintragen

Hallo,
wir haben einen UCS-Server installiert mit der IP-Adresse 192.168.0.1 und möchten den externen DNS-Server 1.2.3.4 als Forwarder für alle DNS-Anfragen ausserhalb des LAN eintragen nur wo? Was auch merkwürdig ist, ein nslookup auf dem UCS-Server nach der IP-Adresse 192.168.0.1 klappt nicht. Aber nslookup nach ucs1.intranet bringt die korrekte IP-Adresse 192.168.0.1
Auf dem alten Linux-Server hatten wir folgenden Eintrag:
named.conf

options {
directory “/var/named”;
/*

  • Using the DNS Server of the Network Provider as a forwarder
  • can make responses to queries faster and less of load on your
  • local network
    */
    forward first;
    forwarders {
    1.2.3.4;
    };
    };

Vielen Dank für eure Hilfe!

Hallo,
das kannst du über die Kommandozeile auf dem UCS Server eingeben:

ucs set dns/forwarder1="1.2.3.4"

Oder über die Univention Managemen Console unter Univention Configuration Registry nach dns suchen und die Variable dns/forwarder1 dort setzen.

Viele Grüße,
Jörn

Moin,

welcome to the forum and to UCS. Please use English language in future as we have international users here, too.

You already got the correct information regarding your issue about DNS settings. So just a basic statement from me:

When using UCS stay away from editing configuration files own your own. UCS has a mechanism implemented where it will re-rwrite the configuration files when needed. So you changes will get lost at sometime.

Use ucr-variables (try ucr dump) and udm to modify settings through command line. Otherwise use the web frontend (UMC) to administer your server.

If you need some special settings you might use “.local” files additionally to the settings from UCS. This way your settings will survive updates and other changes.

/CV

Mastodon