Skip to main content

Setup Basic Cloudflare

Setup DNS for koficodes.xyz GitHub page

Login to cloudflare account and under DNS management

  1. Click on add records,
    1. At type select A,
    2. At name input @ or koficodes.xyz
    3. At IPv4 address input ips below
  2. Repeat above steps for AAAA records

To create A records, point your apex domain to the IP addresses for GitHub Pages.

    185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153

To create AAAA records, point your apex domain to the IP addresses for GitHub Pages.

    2606:50c0:8000::153
2606:50c0:8001::153
2606:50c0:8002::153
2606:50c0:8003::153

To confirm that your DNS record configured correctly, use the dig command,

For A records.

dig koficodes.xyz +noall +answer -t A
    > koficodes.xyz    3600    IN A     185.199.108.153
> koficodes.xyz 3600 IN A 185.199.109.153
> koficodes.xyz 3600 IN A 185.199.110.153
> koficodes.xyz 3600 IN A 185.199.111.153

For AAAA records.

dig koficodes.xyz +noall +answer -t AAAA
    > koficodes.xyz     3600    IN AAAA     2606:50c0:8000::153
> koficodes.xyz 3600 IN AAAA 2606:50c0:8001::153
> koficodes.xyz 3600 IN AAAA 2606:50c0:8002::153
> koficodes.xyz 3600 IN AAAA 2606:50c0:8003::153