Posts

Showing posts from December, 2020

Fortigate host file manual entry

Fortigate host file manual entry  config system dns-server edit " port11" next end config system dns-database edit " bbb" config dns-entry edit 1 set hostname " site1" set ip 1.1.1.1 next end set domain " bbb.com" next end  edit after FortiOS 7.4.0   To configure FortiGate as a primary DNS server in the CLI: config system dns-database     edit WebServer         set domain example.com         set type master         set view shadow         set ttl 86400         set primary-name corporate         set contact [email protected]         set authoritative disable         config dns-entry             edit 1                 set status enable                 set hostname web.example.com                 set type A                 set ip 192.168.21.12             next         end     next end

Centos 6.10 Cannot find a valid baseurl for repo

Centos 6.10 Cannot find a valid baseurl for repo     echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt  echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt echo "http://vault.centos.org/6.10/sclo/x86_64/rh" > /var/cache/yum/x86_64/6/centos-sclo-rh/mirrorlist.txt echo "http://vault.centos.org/6.10/sclo/x86_64/sclo" > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt