09-06-2021 01:49 PM
Is there any place in the FMC to set an IP to hostname static mapping for DNS resolution?
Best regards.
Solved! Go to Solution.
09-06-2021 07:33 PM
09-06-2021 10:44 PM - edited 09-06-2021 10:47 PM
If you mean the FMC itself add static dns entry for local use then access FMC in expert mode with sudo su privilege and type : echo " ip domain" >> /etc/hosts
Example :
echo "192.168.40.2 lab.ccie-security.com" >> /etc/hosts
root@FMC178:/Volume/home/admin# ping lab.ccie-security.com
PING lab.ccie-security.com (192.168.40.2) 56(84) bytes of data.
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=1 ttl=128 time=0.245 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=2 ttl=128 time=0.305 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=3 ttl=128 time=0.383 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=4 ttl=128 time=0.359 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=5 ttl=128 time=0.386 ms
If it is not the query you asked for, please let me know!
Hope that helps!
09-06-2021 07:33 PM
09-08-2021 06:34 AM
Hi Mohammed,
Thanks for the reply.
Best regards.
09-06-2021 10:44 PM - edited 09-06-2021 10:47 PM
If you mean the FMC itself add static dns entry for local use then access FMC in expert mode with sudo su privilege and type : echo " ip domain" >> /etc/hosts
Example :
echo "192.168.40.2 lab.ccie-security.com" >> /etc/hosts
root@FMC178:/Volume/home/admin# ping lab.ccie-security.com
PING lab.ccie-security.com (192.168.40.2) 56(84) bytes of data.
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=1 ttl=128 time=0.245 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=2 ttl=128 time=0.305 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=3 ttl=128 time=0.383 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=4 ttl=128 time=0.359 ms
64 bytes from lab.ccie-security.com (192.168.40.2): icmp_req=5 ttl=128 time=0.386 ms
If it is not the query you asked for, please let me know!
Hope that helps!
09-08-2021 06:35 AM
Hi Amine,
Yes, that was exactly what I was asking for.
Thanks for the reply.
Best regards.
09-07-2021 11:04 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide