28
1 Windows Network Administration Chapter 5: Troubleshooting Name Resolution

Windows Network Administration Chapter 5:

Embed Size (px)

Citation preview

Page 1: Windows Network Administration Chapter 5:

1

Windows Network Administration

Chapter 5:Troubleshooting Name Resolution

Page 2: Windows Network Administration Chapter 5:

2

Common NetBIOS Name Resolution Problems

• Three categories of NetBIOS problems:

1. Name resolution problems:– Examine node type first

2. Browsing problems– First identify scope, e.g.:

• Inability to browse entire network• Inability to browse single system

3. Name registration problems– First determine whether there is a

naming conflict

Page 3: Windows Network Administration Chapter 5:

3

Examining Computer Browser Service

Page 4: Windows Network Administration Chapter 5:

4

Common DNS Resolution Problems

• For client configuration problems:– Examine DNS configuration on client

• Ipconfig• Properties dialog box for network interface

• For server configuration problems:– Problems with local zones

• Check server database for record • Protocol analyzer

– Problems with remote zones• Clear DNS server cache or restart service• Examine resolution chain

Page 5: Windows Network Administration Chapter 5:

5

Clearing the Cache

Page 6: Windows Network Administration Chapter 5:

6

Using ping, ipconfig, and nbtstat

• Additional troubleshooting– Validate problem is name resolution

• ping command

– Determine whether cause is on client side

• ipconfig/all command

– Check (if necessary clear) NetBIOS or DNS name cache

Page 7: Windows Network Administration Chapter 5:

7

pingA successful resolution attempt

Page 8: Windows Network Administration Chapter 5:

8

pingA failed resolution attempt

Page 9: Windows Network Administration Chapter 5:

9

nbtstat• nbtstat – c

– Displays NetBIOS name cache

• nbtstat – R– Purges and reloads NetBIOS name cache

Page 10: Windows Network Administration Chapter 5:

10

ipconfig

• ipconfig /displaydns• ipconfig /flushdns• ipconfig /registerdns

• net stop dnscache• net start dnscache

Page 11: Windows Network Administration Chapter 5:

11

ipconfig

Page 12: Windows Network Administration Chapter 5:

12

ipconfig

Page 13: Windows Network Administration Chapter 5:

13

nslookup

• Allows custom queries to DNS servers• Interactive mode:

– Custom nslookup prompt• Configurable• Allows multiple queries

• Non-interactive mode:– Run single command-line query

• Syntax– nslookup [-option] [host name to resolve]

[server to use]

Page 14: Windows Network Administration Chapter 5:

14

nslookup: Non-Interactive Query

Page 15: Windows Network Administration Chapter 5:

15

nslookup: Entering Interactive Mode

Page 16: Windows Network Administration Chapter 5:

16

Interactive Mode: Resolving a Name

Page 17: Windows Network Administration Chapter 5:

17

Interactive Mode: Available Options

Page 18: Windows Network Administration Chapter 5:

18

Interactive Mode: Available Options

Page 19: Windows Network Administration Chapter 5:

19

nslookup: set debug

Page 20: Windows Network Administration Chapter 5:

20

nslookup: set type

Page 21: Windows Network Administration Chapter 5:

21

nslookup: Basic ls Listing

Page 22: Windows Network Administration Chapter 5:

22

ls Listing Specifying SRV Type

Page 23: Windows Network Administration Chapter 5:

23

Examining NetBIOS Name Resolution

• Only broadcasts and WINS can be examined with a protocol analyzer

Page 24: Windows Network Administration Chapter 5:

24

Examining DNS Name Resolution

Page 25: Windows Network Administration Chapter 5:

25

Examining DNS Name Resolution

Page 26: Windows Network Administration Chapter 5:

26

Examining DNS Name Resolution

Page 27: Windows Network Administration Chapter 5:

27

Summary

• NetBIOS problems fall into three categories:– For name resolution problems, examine node

type first. – For browsing problems, first identify the scope. – For name registration problems, first verify there

is a naming conflict.

• Two basic types of DNS problems: client configuration problems and server configuration problems.

• Two basic types of DNS server configuration problems: problems with local zones and problems with remote zones.

Page 28: Windows Network Administration Chapter 5:

28

Summary

• Steps in troubleshooting name resolution problems include using ping to validate problem, using ipconfig /all to validate client configuration problem, and using nbtstat to check or clear NetBIOS or DNS name cache.

• nslookup: Diagnostics command for crafting custom queries to DNS servers with modes: interactive and non-interactive.

• Key to troubleshooting at packet level: Understanding traffic you are analyzing; knowing what to expect in order to understand why the correct activity is not occurring.