<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DevOps Resources on sk33lz</title><link>https://sk33lz.com/help/devops/</link><description>Recent content in DevOps Resources on sk33lz</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>&amp;copy; Jason Moore {year}</copyright><lastBuildDate>Sun, 09 Sep 2018 00:00:00 +0000</lastBuildDate><atom:link href="https://sk33lz.com/help/devops/rss.xml" rel="self" type="application/rss+xml"/><item><title>Helpful DNS Information</title><link>https://sk33lz.com/help/devops/dns/</link><pubDate>Sun, 05 May 2019 00:00:00 +0100</pubDate><guid>https://sk33lz.com/help/devops/dns/</guid><description>&lt;p>DNS, or Domain Name System, is one of the most important components of the Internet. It is the service of the web that converts an IP address to a hostname, allowing websites to have their easy to remember names like sk33lz.com. Without it, you would need to remember IP addresses for websites like you used to have to remember someone&amp;rsquo;s phone number. Thanks to smartphones we don&amp;rsquo;t need to do that anymore either.&lt;/p>
&lt;p>The IPs used in the examples below are the actual IPv4 and IPv6 IPs of this website&amp;rsquo;s server.&lt;/p>
&lt;h2 id="ipv4-dns-records">IPv4 DNS Records&lt;/h2>
&lt;h3 id="a-name-record">A Name Record&lt;/h3>
&lt;p>The A Name Record is probably the most common DNS record, as it is used to assign the TLD, Top Level Domain, and subdomains to an IPv4 IP address.&lt;/p>
&lt;h4 id="examples">Examples&lt;/h4>
&lt;p>&lt;strong>Primary Domain&lt;/strong>&lt;/p>
&lt;p>The following entry can be set for the A Record on your primary domain name.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">&lt;code class="language-bash" data-lang="bash">@ 10.10.10.10
&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Subdomain Domain&lt;/strong>&lt;/p>
&lt;p>The following entry can be set for the A Record on your www subdomain.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">&lt;code class="language-bash" data-lang="bash">www 10.10.10.10
&lt;/code>&lt;/pre>&lt;/div>&lt;p>Parts of the web are also evolving. Did you know we ran out of IPv4, 32-bit, IP addresses last year? Those are the ones that look like 123.123.123.123. The last free IP address block for IPv4 was depleted on &lt;a href="https://www.arin.net/announcements/2015/20150924.html">September 24, 2015&lt;/a>. That was a total of 4,294,967,296 IPs, 588,514,304 of which are reserved IPs, so we have gone through a total of 3,706,452,992 IPs since the inception of the Internet. This means that soon enough there will be no IPv4 IPs to assign to computers and devices around the world. Luckily, we have IPv6, a 64-bit IP address range, that has the possibility of theoretically allowing up to 340,282,366,920,938,463,463,374,607,431,768,211,456 IPs. It should be a while before we hit that theoretical maximum, so let&amp;rsquo;s see what we need to do to get ready for this changeover in terms of DNS.&lt;/p>
&lt;h2 id="ipv6-dns-records">IPv6 DNS Records&lt;/h2>
&lt;p>These DNS entries are specific to IPv6, or combined with IPv4 and IPv6.&lt;/p>
&lt;h3 id="aaaa-name-record">AAAA Name Record&lt;/h3>
&lt;p>The AAAA Name Record is similar to an A Name Record, but maps an IPv6 IP address to a hostname instead. Typically you will assign this to @ or hostname of the A Name Record that corresponds to the IPv4 IP.&lt;/p>
&lt;h4 id="examples-1">Examples&lt;/h4>
&lt;p>&lt;strong>Primary Domain&lt;/strong>&lt;/p>
&lt;p>The following entry can be set as the AAAA or IP6 record for your primary domain name.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">&lt;code class="language-bash" data-lang="bash">@ 0:0:0:0:0:ffff:a0a:a0a
&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Subdomain Domain&lt;/strong>&lt;/p>
&lt;p>The following entry can be set as the AAAA or IP6 record for your www subdomain.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">&lt;code class="language-bash" data-lang="bash">www 0:0:0:0:0:ffff:a0a:a0a
&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="ipv4-and-ipv6-combined-spf-record">IPv4 and IPv6 Combined SPF Record&lt;/h2>
&lt;p>Google recently started requiring SPF records to be assigned to mail server transactions on Gmail&amp;rsquo;s servers. This requires a specific TXT record in your DNS. Typically you would assign to @ or the A Name Record and AAAA Name Record you have assigned to the IPv4 and IPv6 IPs respectively.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">&lt;code class="language-bash" data-lang="bash">@ v&lt;span style="color:#f92672">=&lt;/span>spf1 a mx ip4:10.10.10.10 ip6:0:0:0:0:0:ffff:a0a:a0a ~all
&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;strong>Subdomain Domain&lt;/strong>&lt;/p>
&lt;p>The following entry can be set as the AAAA or IP6 record for your www subdomain.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">&lt;code class="language-bash" data-lang="bash">www v&lt;span style="color:#f92672">=&lt;/span>spf1 a mx ip4:10.10.10.10 ip6:0:0:0:0:0:ffff:a0a:a0a ~all
&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="dns-tools">DNS Tools&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="http://www.spfwizard.net/">SPF Generator&lt;/a>&lt;/li>
&lt;li>&lt;a href="http://mxtoolbox.com/spf.aspx">SPF Record Lookup Tool&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Ubuntu Linux Troubleshooting</title><link>https://sk33lz.com/help/devops/ubuntu-troubleshooting/</link><pubDate>Sun, 05 May 2019 00:00:00 +0100</pubDate><guid>https://sk33lz.com/help/devops/ubuntu-troubleshooting/</guid><description>&lt;p>Over the years I have ran into some odd issues setting up Ubuntu servers. I currently am running an Ubuntu 12.04.5 LTS and an Ubuntu 14.04.1 LTS server. Below you can find some helpful fixes for some Ubuntu bugs and configuration oddities.&lt;/p>
&lt;h2 id="encrypted-home-directory">Encrypted Home Directory&lt;/h2>
&lt;p>I ran into an issue installing an Ubuntu 14.04.1 LTS server where after installation I was unable to connect to my server through SSH using SSH key authentication and no password authentication. Everything seemed to work, but when I moved my server down to my basement for the summer, I was unable to connect through SSH remotely. I found that I could login if I were to login on the server console. After some searching I found that an authorized_keys file in an Ubuntu Encrypted Home Directory will not work properly. To fix this issue, you have to move the authorized keys file outside of your Encrypted Home Directory. Then modify the following line in your &lt;code>/etc/ssh/sshd_config&lt;/code> file to point to the unencrypted location.&lt;/p>
&lt;pre>&lt;code>AuthorizedKeysFile %h/.ssh/authorized_keys
&lt;/code>&lt;/pre></description></item><item><title>Web Performance</title><link>https://sk33lz.com/help/devops/performance/</link><pubDate>Sun, 05 May 2019 00:00:00 +0100</pubDate><guid>https://sk33lz.com/help/devops/performance/</guid><description>&lt;p>Performance has become a major factor of web development and application development for the modern web. According to Google, their search index algorithms use page load times as one of over 100 factors they use to rank their search engine results. Web developers that have already been focusing on server performance and faster page load times have the early advantage.&lt;/p>
&lt;p>I work on optimizing web server performance and optimizing website performance as one of my responsibilities as the Systems Engineer at Zivtech in Center City, Philadelphia. Many of the tools I use are open source and free to use, but some might not be as easy to use as others. This section of my DevOps Resources will be focusing on how you can optimize your website for performance and if needed optimize your web server performance to help speed up your website.&lt;/p></description></item><item><title>Web Security</title><link>https://sk33lz.com/help/devops/security/</link><pubDate>Sun, 05 May 2019 00:00:00 +0100</pubDate><guid>https://sk33lz.com/help/devops/security/</guid><description>&lt;p>Security is a big part of my job as a web developer and server administrator. There are constantly new security issues being found in all facets of computers, whether it be your desktop operating system, your network, or a server operating system. This section of my site will be focused on helping you secure your network, your server, and/or desktop to reduce the chances of you becoming a victim of a hacker, a virus, or malware. Knowing how to find security updates quickly as they are released, or installing them automatically is key to staying secure in today&amp;rsquo;s web.&lt;/p></description></item></channel></rss>