DNS Flashcards

1
Q

What is NetBios

A

A windows proprietary name resolving service for LANS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does NetBios work

A

NetBios has the computer broadcast its information onto the network upon booting. Other NetBios enabled PCs will hear and store this information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are two downsides to NetBios

A
  • It doesn’t support IP

- It’s not suitable in large networks due to the broadcast spamming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is NetBT

A

Netbios over TCPIP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How would NetBT handle LAN and WAN requests for name resolution?

A

NetBios for LAN, DNS for WAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the ports for NetBios

A

137, 138, 139

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What purpose did SMB serve in NetBT. What was its port number?

A

It was the protocol for file and print sharing on 445

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or false: NetBT, due to using NetBios for LAN and DNS for Wan, required you to have a local name for your LAN and a routable DNS for WAN

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a DNS resolver

A

Something that’s main focus is resolving FQDNs to IPs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Name server

A

A server that holds the IP addressing for FQDNs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How should we visualise DNS Zones

A

As boxes with sticky notes inside for each of the unique A-records. It is a container for a domain’s records.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an A-record

A

A single, FQDN to IP resolution. These reside on authoratative servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is an authoratative server

A

The server that physically and logically holds the FQDN for what you’re looking for.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the type of DNS server below the root on the DNS heirarchy?

A

Top level domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a three step simplified DNS heirarchy?

A

Root > Top level domain > Authoritative servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the naming convention for DNS servers?

A

The rightmost part being the root. For example
classroom.MartinHigh.Local
or
www.totalsem.com

17
Q

What is a Zone transfer?

A

This explains how a primary DNS server shares its updated tables with secondary DNS servers that mirror its DNS Zones and records.
It does this by advancing a serial value. Secondary servers regularly look at this value and, if they see it’s different to their own, will request an update from the primary server.

18
Q

What is forward lookup

A

FQDN > IP

19
Q

What is reverse lookup

A

IP > FQDN

20
Q

What is the DNS process. From CPU to IP delivery to the CPU.

A

CPU checks local resolver cacheand HOSTS file for FQDN’s IP. If it’s not there, move on to…
CPU requests IP from the client’s DNS server. If it’s not there, move on to…
Client DNS requesting the IP from a root server. If it’s not there, move on to…
Root gives client DNS an address to the TLD responsible for the address and asks there. If it’s not there, move on to…
TLD will know the authoratative server, and provides the IP of that server. The client DNS will go here, get the IP and send it back to the CPU.

21
Q

What is a AAAA record

A

An IPv6 FQDN record

22
Q

How do you display your dns information in windows cmd

A

ipconfig /displaydns

23
Q

What is DNS caching

A

This is when a DNS server stores (or caches) the data it retrieves so it doesn’t need to go out on the internet to find commonly used DNS queries constantly.

24
Q

What is TTL in relation to DNS caching?

A

How long something is stored in a cache.

25
Q

Label all of these parts from a SRV record:

_sip._tcp.example.com. 86400 IN SRV 0 5 5060 sipserver.example.com.

A

service: the symbolic name of the desired service. (_sip.)
proto: the transport protocol of the desired service; this is usually either TCP or UDP. (_tcp.)
name of site: the domain name for which this record is valid, ending in a dot. This is the name of the domain you’re trying to reach? ( example.com.)
ttl: standard DNS time to live field. (86400)
IN: standard DNS class field (this is always IN).
SRV: Type of Record (this is always SRV).
priority: the priority of the target host, lower value means more preferred. This is used to decide which server has priority in answering the query. (0)
weight: A relative weight for records with the same priority, higher value means higher chance of getting picked. (5)
port: the TCP or UDP port on which the service is to be found. (5060)
server target: the canonical hostname of the machine providing the service, ending in a dot. (sipserver.example.com.)

26
Q

What is the point of an SRV record

A

Whereas MX records only provide information for email services, SRV is a flexible record in that it can be used to resolve numerous kinds of services. For example, one SRV record could be for LDAP and the other could be for VoIP. In the end, it still resolves things. Usually host names to ports instead of IPs, but it’s slightly different.

27
Q

what is an mx record

A

A record holding mail exchange information.
It will find an authoratative server like any other DNS query, but instead of requesting an A or AAAA record it will ask for an MX one for the specified domain.

28
Q

What is a CNAME

A

Canonical name is simply an alias for a FQDN

29
Q

What is a PTR record

A

One found only in reverse lookup zones. This is a pointer record. (FQDN > IP

30
Q

You look at a DNS server and see one of the file type set to SOA. What is this?

A

State of authority

The primary name server in charge of a specific zone

31
Q

You look at a DNS server and see one of the file type set to NS. What is this?

A

All of the name servers and their IPs within the domain.

32
Q

For SRV records, what is the difference between priority and weight

A

Priority prioritizes specific servers over others. This means they will be the priority in answering incoming queries over others.
Weight prioritizes what types of data are answered to first. For example, voip may be a priority and is answered before kerberos queries.

33
Q

What does ipconfig /registerdns do

A

updates your dns records from your active directory base.

34
Q

What does netstat -s do

A

Shows TCP/IP information such as packets received and sent

35
Q

How can nslookup -s be used to troubleshoot a network issue?

A

If you can see packets are sent but none received or vice versa it’s very likely that you have a break in the cable.

36
Q

Other computers on a network resolve names just fine, but yours can never find the server unless you type in an IP address. What cmd could you try here?

A

ipconfig /flushdns

37
Q

Using ping, how can you check if your DNS is borked?

A

If you can ping an address successfully but not a FQDN, something DNS related is deaded.