Next server per hostgroup or so?

Hi guys,

It seems that Foreman is setting the next-server for each DHCP lease using
the nslookup from the foreman settings.

Is there a way to set this per hostgroup to another IP ?

I need a flexible way using NSlookup maybe but that doesn't bound to a
template change per Hostgroup.

Thanks!

Matt

>
> Hi guys,
>
> It seems that Foreman is setting the next-server for each DHCP lease
using the nslookup from the foreman settings.
>
> Is there a way to set this per hostgroup to another IP ?
>

What is your usage case?

Ohad
> I need a flexible way using NSlookup maybe but that doesn't bound to a
template change per Hostgroup.
>
> Thanks!
>
> Matt
>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.

··· On Apr 25, 2014 1:37 AM, "Matt ." wrote: > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.

I have seperate subnets, isolated with Vlan and so on which cannot reach
the single foreman IP, so it needs to tftp to another server but this is
not done on dns base, but IP… as tftp is.

This is also done to be able to seperate full systems per subnet in the
future if needed, so seperate tftp, dhcp, dns… whatever.

··· Op vrijdag 25 april 2014 09:07:29 UTC+2 schreef ohad: > > > On Apr 25, 2014 1:37 AM, "Matt ." <yamaka...@gmail.com > > wrote: > > > > Hi guys, > > > > It seems that Foreman is setting the next-server for each DHCP lease > using the nslookup from the foreman settings. > > > > Is there a way to set this per hostgroup to another IP ? > > > > What is your usage case? > > Ohad > > I need a flexible way using NSlookup maybe but that doesn't bound to a > template change per Hostgroup. > > > > Thanks! > > > > Matt > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. >

OK, I need to explain this a little bit more:

Let's say have have

domain.local where fm is in: fm.domain.local

And we have multiple subnets with their own domain:

sub1.domain.local
sub2.domain.local

These subnets are vlanned, so isolated, so we need per subnet:

fm.sub1.domain.local
fm.sub2.domain.local

Ofcourse the ceritificate of FM as proxy doesn't allow this as it's set to
fm.domain.local

I coul make a wildcard there, but that's far from what you want to have I
think.

Routing is not the best possible way as I have GW's on switches/vlans too…

··· Op vrijdag 25 april 2014 09:39:44 UTC+2 schreef yamaka...@gmail.com: > > I have seperate subnets, isolated with Vlan and so on which cannot reach > the single foreman IP, so it needs to tftp to another server but this is > not done on dns base, but IP... as tftp is. > > This is also done to be able to seperate full systems per subnet in the > future if needed, so seperate tftp, dhcp, dns... whatever. > > > > Op vrijdag 25 april 2014 09:07:29 UTC+2 schreef ohad: >> >> >> On Apr 25, 2014 1:37 AM, "Matt ." wrote: >> > >> > Hi guys, >> > >> > It seems that Foreman is setting the next-server for each DHCP lease >> using the nslookup from the foreman settings. >> > >> > Is there a way to set this per hostgroup to another IP ? >> > >> >> What is your usage case? >> >> Ohad >> > I need a flexible way using NSlookup maybe but that doesn't bound to a >> template change per Hostgroup. >> > >> > Thanks! >> > >> > Matt >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to foreman-user...@googlegroups.com. >> > To post to this group, send email to forema...@googlegroups.com. >> > Visit this group at http://groups.google.com/group/foreman-users. >> > For more options, visit https://groups.google.com/d/optout. >> >