I'm looking at getting some certificates for some local services I run. So machine.mydomain.com for an http service internally.
Currently my gargoyle is set up to add .lan to all the machines, so machine.lan responds. But obviously https://machine.lan gets a certificate error with my new machine.mydomain.com certificate.
I guess I could change(?) my domain definition in gargoyle to set the domain to mydomain.com instead of .lan?
Or is there a way I could tell gargoyle to accept either domain, and I'm not sure I'm ready to completely replace my local domain name.
Gargoyle to resolve two domains.
Moderator: Moderators
Re: Gargoyle to resolve two domains.
A bit of research looks like you can use two, but it seems awkward and no one really explained it well.
I'd be more inclined to make the one domain as mydomain.com as you stated
I'd be more inclined to make the one domain as mydomain.com as you stated
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle to resolve two domains.
Yeah I figured that was easier.
So do you know the process? (still on 1.6.2) I went to the system\identification tab and changed lan to mydomain.com and hit save.
A quick look in the etc/config/dhcpd.conf I saw that
domain=mydomain.com
but local was still set to local=\lan\
I didn't force a restart of the router, (but did do a dnsmasq reload and restart - didn't try dhcpd), but on the back of that just did a ip renew on a windows machine, and it didn't seem to pick up a new domain.
Should I just try and reboot? or is there a setting I'm missing?
So do you know the process? (still on 1.6.2) I went to the system\identification tab and changed lan to mydomain.com and hit save.
A quick look in the etc/config/dhcpd.conf I saw that
domain=mydomain.com
but local was still set to local=\lan\
I didn't force a restart of the router, (but did do a dnsmasq reload and restart - didn't try dhcpd), but on the back of that just did a ip renew on a windows machine, and it didn't seem to pick up a new domain.
Should I just try and reboot? or is there a setting I'm missing?
Re: Gargoyle to resolve two domains.
I think you manually need to change local as well.
I would then reboot and disconnect reconnect devices to flush IPs etc
I would then reboot and disconnect reconnect devices to flush IPs etc
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Gargoyle to resolve two domains.
Ok. I might have a play. Technically I've got some newer hardware, that I can try it out of before doing my entire network.
But I'm also considering going for a ubiquiti USG as my primary router and may take that opportunity to do it then
But I'm also considering going for a ubiquiti USG as my primary router and may take that opportunity to do it then