Comments (14)
Hmmm, good point.
It looks like we need to setup an AAAA record for cockpit-project.org. I believe Github now supports IPv6. I'm not sure what the AAAA should be though:
$ host cockpit-project.org
cockpit-project.org has address 192.30.252.154
cockpit-project.org has address 192.30.252.153
$ host cockpit-project.github.io
cockpit-project.github.io is an alias for sni.github.map.fastly.net.
sni.github.map.fastly.net has address 151.101.37.147
sni.github.map.fastly.net has IPv6 address 2a04:4e42:9::403
I do see this, but it doesn't provide the necessary information:
@sgallagher Do you know of any other domain pointed at GitHub that has added correct AAAA records?
from cockpit-project.github.io.
GitHub Pages is the only part of GitHub, which has IPv6 support. Unfortunately no IPv6 support is available for custom domains — officially. After a bit of digging, one can reach a custom GitHub Pages domain over IPv6 using 2A04:4E42::403 (this is actually an IP belonging to the CDN GitHub uses).
This can be confirmed easily with curl:
curl "http://[2A04:4E42::403]" --header "Host:cockpit-project.org"
from cockpit-project.github.io.
An alternative method would be to use Cloudflare's free plan as a proxy server, which in addition to IPv6 support would provide HTTPS support.
from cockpit-project.github.io.
@sgallagher Is an AAAA record like this something we could do for cockpit-project.org?
. IN AAAA 2A04:4E42:2E::403
from cockpit-project.github.io.
Just got back from vacation.
@stefwalter Is the syntax in #139 (comment) exact? If so, I can push that out right now.
I'm not familiar with the . in AAAA
format. What does the leading dot indicate?
from cockpit-project.github.io.
bump
@stefwalter can you comment?
from cockpit-project.github.io.
I've done a bit more research into this and think there's a better approach than adding a specific AAAA record.
GitHub Pages uses Fastly CDN, which in turn uses GeoDNS to return the closest IP. This can be confirmed by querying DNS for cockpit-project.github.io from different physical locations. One can also note that pinging the IPs queried in this ways will always result in lower latencies than those in this help article, which cockpit-project.org currently uses.
To achieve the exact same better behaviour for a custom domain, adding a CNAME record, which points to cockpit-project.github.io should work. It makes sense to do this for both A and AAAA queries due to the aforementioned benefits. In fact, this is described in this help article.
from cockpit-project.github.io.
@sgallagher Sorry for missing your response. I was catching up from vacation too :)
The solution that @tambry talks about seems to make more sense. What do you think? @sgallagher I believe the record would look like this. It would need to replace the current A record:
. IN CNAME cockpit-project.github.io.
from cockpit-project.github.io.
@stefwalter OK, I just made the following change to our DNS records, which should make their way out over the next 24 hours:
-@ IN A 192.30.252.153
-@ IN A 192.30.252.154
+. IN CNAME cockpit-project.github.io.
from cockpit-project.github.io.
It seems this broke DNS completely. dig @ns1.redhat.com. cockpit-project.org
now does not have any results. curl http://cockpit-project.org
fails with "Could not resolve host: cockpit-project.org" from four different places, and so does firefox.
from cockpit-project.github.io.
I can't see a CNAME record from the Google DNS query tool nor from my own computer.
@sgallagher Try making sure the CNAME record was added correctly?
from cockpit-project.github.io.
I just reverted the change completely. The previous records should propagate out soon.
from cockpit-project.github.io.
The problem probably happened because CNAME records can't be added to a root domain.
One of the following should actually work:
- If the DNS server you're using supports CNAME flattening (aka ANAME records), then add such a record to the root domain, which points to cockpit-project.github.io.
- Move the GitHub Pages site to a www subdomain and add the CNAME record to that subdomain.
from cockpit-project.github.io.
To follow this ticket.
from cockpit-project.github.io.
Related Issues (20)
- blog release tags are lacking pagination HOT 11
- blog view wraps oddly HOT 3
- Mermaid support
- Mention copr preview more prominently for RHEL/CentOS/etc.? HOT 2
- Mention Cockpit Client flatpak on the running/install page?
- Add design resources on the website
- Add proxy info to externals for the website?
- Link to origin for external docs
- Port toolbox scripts to use podman, possibly with the same environment as GitHub pages?
- Ubuntu should have a note about upgrading too
- Add app pages to docs HOT 3
- FAQ (Frequently Asked Questions)
- Add link to FAQ in docs and front page's footer
- Add questions to the FAQ
- FAQ: Add fail2ban info?
- Instructions state "Cockpit is included in Ubuntu 17.04 and later" but this is not true HOT 2
- Add image optimization into the container & release notes script HOT 3
- Header on mobile HOT 3
- Typo in Proxying Cockpit over NGINX HOT 1
- Possibly wrong package name for SUSE Linux Enterprise Micro HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockpit-project.github.io.