DNS as Fast As Possible
Techquickie
·Techquickie
·2017-05-06
·
941 words · ~4 min read
0:00
suppose I were to get into a taxi after a night on the town and tell the driver
0:05
Linus's house when he asked me where we're headed unless the driver somehow
0:10
very creepily already knows where I live he'll probably tell me to stop being a
0:15
tool and give him an actual address where he can actually drop me off and
0:19
although that scenario has probably
0:22
occurred in plenty of taxi cabs where drivers have had to deal with people
0:26
that ran up way too high of a bab that night your computer or phone can have a
0:33
much easier time figuring out where to take you on the internet thanks to the
0:37
domain name system commonly referred to as DNS you see even though most of us
0:45
get to our favorite websites by punching in addresses like youtube.com or
0:51
vessel.com your browser actually needs to know the IP address of the site
0:56
you're trying to access so to do this it
1:00
sends a request to the DNS which is sort of like the internet's version of yellow
1:05
pages that matches a site URL or a
1:08
uniform resource locator to an IP address so a DNS request first goes to a
1:15
recursive name server which is typically operated by your internet service
1:19
provider but you can also use public servers managed by Google or other
1:24
organizations if your isp's resolver is having issues a recursive name server
1:30
might have the IP address of the website you want to access already stored but if
1:35
it doesn't it will go to one of 13 root
1:38
servers which manage requests for top level domains like or.org although that
1:46
seems like a tiny number of servers by the way they actually use redundant
1:50
physical Hardware all over the globe to make sure these requests are handled and
1:54
handled quickly your request is then
1:57
sent to the appropriate top domain server.com if you're trying to get to
2:02
YouTube for example which will then contact authoritative name servers that
2:07
contain a well authoritative list of IP
2:11
addresses and matching URLs which is updated whenever someone buys and
2:16
registers a domain once the IP address
2:19
you want is retrieved it's sent back to the recursive name server and then onto
2:24
your computer to save time in the future and make things more efficient both the
2:29
recurs name server and your own computer will cash DNS entries for a while so the
2:35
next time you want to visit YouTube you won't have to go through this whole
2:39
rigar Ral instead your computer will either know the correct IP right away or
2:44
it will be able to get it directly from the recursive server DNS usually works
2:50
fairly well for most people but if a website changes IP addresses this can
2:55
cause problems especially if your computer is trying to use its own own
3:00
cash this will usually manifest as lots of random 404 errors or taxi drivers
3:07
taking you to the wrong place if we were to hearken back to our original analogy
3:12
so if you're running Windows it's actually pretty easy to clear out your
3:15
DNS cach just by opening the command prompt as an administrator and entering
3:20
this command which hopefully will fix the problem however you could run into
3:25
more serious problems if a piece of malware has poisoned your DNS cache by
3:31
making DNS entries that are stored locally that point to malicious websites
3:36
for example an attacker could tell your PC to make
3:41
irs.gov point to the IP address of a
3:44
website running a tax scam that tries to convince you to give up your personal
3:49
information so if you're getting weird redirects like this running a reputable
3:54
anti-malware application may be able to help but despite its vulnerabilities DNS
3:59
has made the internet extremely easy to use for many people because thanks to it
4:05
we don't have to punch in numerical IP addresses like like phone numbers except
4:10
longer every time we want to surf the web and given how hard it is for people
4:15
to remember phone numbers that's just not a world I would want to live in
4:20
speaking of Worlds I wouldn't want to live in worlds without fresh books fresh
4:25
books let small business owners focus on
4:28
running their business rather than sitting in a dark corner in
4:33
front of their computer with only the lights of the screen to illuminate the
4:37
room working on all of their tax and
4:40
accounting information doesn't that sound horrible no freshbooks is
4:44
cloud-based and allows you to use your phone while you're on the go to track
4:48
your expenses log your hours create
4:51
professional invoices send them to your customers receive verification that your
4:56
customers have indeed read them and then request payment directly through
5:01
freshbooks own service they even have
5:04
the ability to accept deposits for your work through their platform so the work
5:07
is paid for on your schedule getting
5:11
started in freshbooks is extremely simple even if you're not a numbers
5:15
person especially if you're not a numbers person and you can try it for
5:18
free for 30 days by going to freshbooks.com
5:22
tequi Linked In the video description and entering Techquickie in the how did
5:26
You Hear About Us section so thanks for watching guys if you liked it liked it
5:30
dislike it dislike it other channels check there comment with video
5:34
suggestions down there subscribe and follow wherever those buttons are press
5:38
them come on see you next time