- Products
- Learn
- Local User Groups
- Partners
- More
What's New in R82.10?
Watch HereWhen the Agents Attack
A Live Look at Agentic Exposure Validation
AI Security Masters E8:
Claude Mythos: New Era in Cyber Security
CheckMates Go:
CheckMates Fest
We have two ISPs connected to our Check Point firewall (GAIA). One of the ISP-facing interfaces receives its configuration via DHCP, and because of this, DNS servers from the ISP are automatically applied to the firewall.
We want the firewall to always use our internal DNS servers. Although we have manually configured static DNS entries on the firewall, it eventually overwrites them and reverts to the DNS servers received from the ISP via DHCP.
We understand that switching this interface to a static IP would prevent the ISP from pushing DNS settings, but static assignment is not an option in our environment.
How can we prevent the firewall from accepting DNS settings delivered via DHCP—while still keeping the interface on DHCP?
Hello
I never had this need in the past, but I take a look in my lab, there is a possible workaround (I haven't find any documentation on Check Point supportcenter).
You could try to edit /etc/dhclient.conf file, appliyng this changes:
I'm not sure that the dhclient.conf file is preserved after an upgrade (I haven't tested it).
I repeat, it's a workaround, if there's someone from CP that could provide better and official solution.
For DHCLIENT.CONF I followed the Linux Man Page: https://linux.die.net/man/5/dhclient.conf
Appliance model, software version in use?
Hi Val,
Appliance mode - 5200
Version - R81.20
Thanks, @Gaurav_Pandya
According to sk107174, this should not happen, as the locally defined DNS servers can have higher priority than those received via DHCP. Please verify you set the highest possible priority for your local DNS servers in the system before trying any unofficial workaround.
Interesting SK, I checked in my labs, on an open server VM R81.20, with DNS configured and the interface eth0 configured with DHCP, and the gateway uses the DNS received from the DHCP.
[Expert@CP-LAB-fw:0]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search fritz.box
nameserver 192.168.1.254
[Expert@CP-LAB-fw:0]# nslookup
> www.google.it
Server: 192.168.1.254
Address: 192.168.1.254#53
Non-authoritative answer:
Name: www.google.it
Address: 142.251.140.99
>
CP-LAB-fw> show configuration dns
set dns mode default
set dns suffix fritz.box
set dns primary 8.8.8.8
CP-LAB-fw> show configuration dhcp-client
add dhcp client interface eth0
set dhcp client interface eth0 timeout 60
set dhcp client interface eth0 retry 300
set dhcp client interface eth0 reboot 10
Hi Val,
I have set primary DNS server, still it changes with ISP provided DNS.
set dns primary <DNS IP>
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 13 | |
| 12 | |
| 9 | |
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
Thu 02 Jul 2026 @ 06:00 PM (CST)
Revolucionando la Seguridad con IA Generativa: Prevención Inteligente en Tiempo RealThu 09 Jul 2026 @ 10:00 AM (CEST)
Schutz souveräner Workloads: Check Point & die AWS European Sovereign CloudThu 09 Jul 2026 @ 11:00 AM (CEST)
The Cloud Architects Series: Check Point Edge Protection SD-WAN & SASETue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI GatewayThu 20 Aug 2026 @ 10:00 AM (PDT)
AI Security Masters E13: READY OR NOT: Securing the AI Ent 5/5 - AI Research & Threat LandscapeTue 14 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E11: READY OR NOT: Securing the AI Enterprise 3/5 - AI Workforce SecurityThu 30 Jul 2026 @ 10:00 AM (PDT)
AI Security Masters E12: READY OR NOT: Securing the AI Enterprise 4/5 - AI GatewayThu 20 Aug 2026 @ 10:00 AM (PDT)
AI Security Masters E13: READY OR NOT: Securing the AI Ent 5/5 - AI Research & Threat LandscapeThu 02 Jul 2026 @ 06:00 PM (CST)
Revolucionando la Seguridad con IA Generativa: Prevención Inteligente en Tiempo RealAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY