Re: [Freeipa-users] Dynamic DNS Questions

2016-06-08 Thread Detlev Habicht
Thank you, this is it.

This entry was already in sssd.conf (with the wrong interface). But i was 
looking for an
IP number … Ignoring interfaces. Stupid, my fault.

Thank you again

Detlev
 
--
  Detlev  | Institut fuer Mikroelektronische Systeme
  Habicht | D-30167 Hannover +49 511 76219662 habi...@ims.uni-hannover.de
  + Handy+49 172 5415752  ---



Am 08.06.2016 um 13:17 schrieb Martin Štefany :

> Hello Detlev,
> 
> FreeIPA/SSSD client use IP address of interface/vlan/subnet which is use to 
> communicate (LDAP) with FreeIPA server.
> 
> However, if you have dyndns_update set to True in sssd.conf, you can also set 
> dyndns_iface to point to correct interface which IP addresses will be 
> dynamically updated in DNS, see:
> 
> $ man sssd-ipa
> [stripped]
>   dyndns_iface (string)
>   Optional. Applicable only when dyndns_update is true. Choose the 
> interface or a list of interfaces whose IP addresses should be used for 
> dynamic DNS updates. Special value “*” implies that IPs from all interfaces
>   should be used.
> 
>   NOTE: While it is still possible to use the old ipa_dyndns_iface 
> option, users should migrate to using dyndns_iface in their config file.
> 
>   Default: Use the IP addresses of the interface which is used for 
> IPA LDAP connection
> 
>   Example: dyndns_iface = em1, vnet1, vnet2
> [stripped]
> 
> Kind regards,
> Martin
> 
> 
> 
> On 6/8/2016 1:00 PM, Detlev Habicht wrote:
>> Hi all,
>> 
>> well, i am really a beginner with IPA and just trying to setup some
>> test systems. In the moment one IPA server, one NFS/Samba server and a
>> fedora CLient. I am running IPA 4.2, Scientific Linux 7.2 and Fedora 23.
>> 
>> The most important things are running now.
>> 
>> But i have a problem with DNS entries left. Maybe while installing
>> IPA i make mistakes with the NFS Server. On this NFS server i have 5
>> interfaces. 4
>> of them now as bond interface. So i am running two IPs now: nn.16 and
>> nn.33.
>> 
>> But while installing IPA (with DNS) it takes the wrong one (16):
>> 
>> 2016-05-26T14:08:12Z DEBUG Writing nsupdate commands to
>> /etc/ipa/.dns_update.txt:
>> 2016-05-26T14:08:12Z DEBUG debug
>> update delete nnnix.nnn.intern. IN A
>> show
>> send
>> update delete nnnix.nnn.intern. IN 
>> show
>> send
>> update add nnnix.nnn.intern. 1200 IN A nnn.nn.nn.16
>> show
>> send
>> 2016-05-26T14:08:12Z DEBUG Starting external process
>> 2016-05-26T14:08:12Z DEBUG args='/usr/bin/nsupdate' '-g'
>> '/etc/ipa/.dns_update.txt'
>> 
>> 
>> I can change the DNS entry on the IPA server to nn.33 at runtime. Then
>> everything
>> is ok. But when i boot the NFS server, it is changing the DNS entry on
>> the IPA Server to nn.16.
>> 
>> What can i do so the IPA client (here my NFS Server) is using the right IP?
>> I don’t find any conf-File … Is there any point where i can change this IP?
>> 
>> Thanx for any help!
>> 
>> Detlev
>> 
>> 
>> --
>>  Detlev  | Institut fuer Mikroelektronische Systeme
>>  Habicht | D-30167 Hannover +49 511
>> 76219662 habi...@ims.uni-hannover.de 
>>  + Handy+49 172 5415752  ---
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> --
> Martin

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] Dynamic DNS Questions

2016-06-08 Thread Martin Štefany

Hello Detlev,

FreeIPA/SSSD client use IP address of interface/vlan/subnet which is use 
to communicate (LDAP) with FreeIPA server.


However, if you have dyndns_update set to True in sssd.conf, you can 
also set dyndns_iface to point to correct interface which IP addresses 
will be dynamically updated in DNS, see:


$ man sssd-ipa
[stripped]
   dyndns_iface (string)
   Optional. Applicable only when dyndns_update is true. Choose 
the interface or a list of interfaces whose IP addresses should be used 
for dynamic DNS updates. Special value “*” implies that IPs from all 
interfaces

   should be used.

   NOTE: While it is still possible to use the old 
ipa_dyndns_iface option, users should migrate to using dyndns_iface in 
their config file.


   Default: Use the IP addresses of the interface which is used 
for IPA LDAP connection


   Example: dyndns_iface = em1, vnet1, vnet2
[stripped]

Kind regards,
Martin



On 6/8/2016 1:00 PM, Detlev Habicht wrote:

Hi all,

well, i am really a beginner with IPA and just trying to setup some
test systems. In the moment one IPA server, one NFS/Samba server and a
fedora CLient. I am running IPA 4.2, Scientific Linux 7.2 and Fedora 23.

The most important things are running now.

But i have a problem with DNS entries left. Maybe while installing
IPA i make mistakes with the NFS Server. On this NFS server i have 5
interfaces. 4
of them now as bond interface. So i am running two IPs now: nn.16 and
nn.33.

But while installing IPA (with DNS) it takes the wrong one (16):

2016-05-26T14:08:12Z DEBUG Writing nsupdate commands to
/etc/ipa/.dns_update.txt:
2016-05-26T14:08:12Z DEBUG debug
update delete nnnix.nnn.intern. IN A
show
send
update delete nnnix.nnn.intern. IN 
show
send
update add nnnix.nnn.intern. 1200 IN A nnn.nn.nn.16
show
send
2016-05-26T14:08:12Z DEBUG Starting external process
2016-05-26T14:08:12Z DEBUG args='/usr/bin/nsupdate' '-g'
'/etc/ipa/.dns_update.txt'


I can change the DNS entry on the IPA server to nn.33 at runtime. Then
everything
is ok. But when i boot the NFS server, it is changing the DNS entry on
the IPA Server to nn.16.

What can i do so the IPA client (here my NFS Server) is using the right IP?
I don’t find any conf-File … Is there any point where i can change this IP?

Thanx for any help!

Detlev


--
  Detlev  | Institut fuer Mikroelektronische Systeme
  Habicht | D-30167 Hannover +49 511
76219662 habi...@ims.uni-hannover.de 
  + Handy+49 172 5415752  ---







--
--
Martin

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project


Re: [Freeipa-users] Dynamic DNS Questions

2016-06-08 Thread Martin Basti



On 08.06.2016 13:00, Detlev Habicht wrote:

Hi all,

well, i am really a beginner with IPA and just trying to setup some
test systems. In the moment one IPA server, one NFS/Samba server and a
fedora CLient. I am running IPA 4.2, Scientific Linux 7.2 and Fedora 23.

The most important things are running now.

But i have a problem with DNS entries left. Maybe while installing
IPA i make mistakes with the NFS Server. On this NFS server i have 5 
interfaces. 4
of them now as bond interface. So i am running two IPs now: nn.16 and 
nn.33.


But while installing IPA (with DNS) it takes the wrong one (16):

2016-05-26T14:08:12Z DEBUG Writing nsupdate commands to 
/etc/ipa/.dns_update.txt:

2016-05-26T14:08:12Z DEBUG debug
update delete nnnix.nnn.intern. IN A
show
send
update delete nnnix.nnn.intern. IN 
show
send
update add nnnix.nnn.intern. 1200 IN A nnn.nn.nn.16
show
send
2016-05-26T14:08:12Z DEBUG Starting external process
2016-05-26T14:08:12Z DEBUG args='/usr/bin/nsupdate' '-g' 
'/etc/ipa/.dns_update.txt'



I can change the DNS entry on the IPA server to nn.33 at runtime. Then 
everything

is ok. But when i boot the NFS server, it is changing the DNS entry on
the IPA Server to nn.16.

What can i do so the IPA client (here my NFS Server) is using the 
right IP?
I don’t find any conf-File … Is there any point where i can change 
this IP?


Thanx for any help!

Detlev


--
  Detlev  | Institut fuer Mikroelektronische Systeme
  Habicht | D-30167 Hannover +49 511 76219662 
habi...@ims.uni-hannover.de 

  + Handy+49 172 5415752  ---







Hello,

DNS updates are done by sssd daemon on the client, you may want to 
disable dynamic updates or set interfaces which should be used


man sssd-ipa  find for dyndns_update and dyndns_iface

Martin
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project