FreePBX and DNS settings
-
@fuznutz04 said in FreePBX and DNS settings:
Then reboot the server, most of the time, it will automatically return the DNS entries to what I assume is the DNS provided by DHCP.
For a server, you want their DNS because they have a local cache in the datacenter.
-
@scottalanmiller said in FreePBX and DNS settings:
@fuznutz04 said in FreePBX and DNS settings:
Then reboot the server, most of the time, it will automatically return the DNS entries to what I assume is the DNS provided by DHCP.
For a server, you want their DNS because they have a local cache in the datacenter.
Is that documented someplace? I never bothered to look.
-
Just updated the DNS on our Bundy PBX and rebooted it as no one was on the phone.
Entries are still there.
-
@scottalanmiller said in FreePBX and DNS settings:
@fuznutz04 said in FreePBX and DNS settings:
Do you set your NIC to DHCP, or Static?
Can't do static.
So you CAN set it. I've done it. Are you supposed to, apparently not.
-
@JaredBusch said in FreePBX and DNS settings:
Just updated the DNS on our Bundy PBX and rebooted it as no one was on the phone.
Entries are still there.
I've set it on mine, because is specifically says to set the first one to 127.0.0.1. Was 127.0.0.1 in your DNS entries before you set it?
-
@fuznutz04 said in FreePBX and DNS settings:
@scottalanmiller said in FreePBX and DNS settings:
@fuznutz04 said in FreePBX and DNS settings:
Do you set your NIC to DHCP, or Static?
Can't do static.
So you CAN set it. I've done it. Are you supposed to, apparently not.
You CAN, yes. But only to the number handed out by DHCP.
-
@scottalanmiller So you don't set it to 127.0.0.1 like is says to in the GUI?
-
@fuznutz04 said in FreePBX and DNS settings:
@scottalanmiller So you don't set it to 127.0.0.1 like is says to in the GUI?
I do not.
-
@scottalanmiller said in FreePBX and DNS settings:
@fuznutz04 said in FreePBX and DNS settings:
@scottalanmiller So you don't set it to 127.0.0.1 like is says to in the GUI?
I do not.
You two are discussing two different things, be specific!
- DNS
- Static IP.
@fuznutz04 of course you can use the FreePBX GUI to make the IP static, but no, you should never. It breaks the entire process. You can never restore or move or anything that VM because when you do any of that, you will get a new DHCP assigned IPv4 from Vultr.
@scottalanmiller I typically will enter the 127.0.0.1 DNS just because there have been rare bugs with the Dashboard module over the years that having 127.0.0.1 in the DNS has prevented from being a nuisance.
@fuznutz04 The 127.0.0.1 has been there ever since I setup this server almost a year ago. I just added the Cloudflare DNS entries today for the test.
-
@JaredBusch Agreed. Should be more specific.
I will keep the NIC on DHCP.
The DNS thing just got me thinking. Especially since it says about setting it specifically in the UI. @Scott says not to set it. You say to set it to 127.0.0.1 and the Vultr DNS.
-
@fuznutz04 said in FreePBX and DNS settings:
@Scott says not to set it. You say to set it to 127.0.0.1 and the Vultr DNS.
No, Scott says he doesn't use it, not that you shouldn't. Not the same thing
-
@scottalanmiller said in FreePBX and DNS settings:
@fuznutz04 said in FreePBX and DNS settings:
@Scott says not to set it. You say to set it to 127.0.0.1 and the Vultr DNS.
No, Scott says he doesn't use it, not that you shouldn't. Not the same thing
But doesn't this just write it to the /etc/resolve file anyway? I could set DNS statically via the file, but I'm still unclear what the best practice is for FreePBX in regards to DNS.
-
@fuznutz04 said in FreePBX and DNS settings:
@scottalanmiller said in FreePBX and DNS settings:
@fuznutz04 said in FreePBX and DNS settings:
@Scott says not to set it. You say to set it to 127.0.0.1 and the Vultr DNS.
No, Scott says he doesn't use it, not that you shouldn't. Not the same thing
But doesn't this just write it to the /etc/resolve file anyway? I could set DNS statically via the file, but I'm still unclear what the best practice is for FreePBX in regards to DNS.
To not fuck with it unless you have a reason to.
FreePBX is an appliance. A software appliance, but an appliance. You donβt fuck with it under the hood unless you have a good reason to do so.