diff --git a/src/services/dns.ycp b/src/services/dns.ycp index 062a4c7df..c29640e08 100644 --- a/src/services/dns.ycp +++ b/src/services/dns.ycp @@ -179,6 +179,30 @@ define void SetHostname( any value) SetHnItem( "HOSTNAME", value); } +/** + * Function for updating ip address of first nameserver. + */ +define void SetNameserver1( any value) +{ + SetHnItem( "NAMESERVER_1", value); +} + +/** + * Function for updating ip address of second nameserver. + */ +define void SetNameserver2( any value) +{ + SetHnItem( "NAMESERVER_2", value); +} + +/** + * Function for updating ip address of third nameserver. + */ +define void SetNameserver3( any value) +{ + SetHnItem( "NAMESERVER_3", value); +} + /** * Default function to init the value of a widget. * Used for push buttons.