Posted On August 31, 2021

Ping Command’s First Packet Toward LDAP Server(s) Takes 2 Seconds to Start

kimconnect 0 comments
blog.KimConnect.com >> Linux , Networking >> Ping Command’s First Packet Toward LDAP Server(s) Takes 2 Seconds to Start
Case 1: Are DNS servers working?
  • dig returns results right away => defined dns servers are working
  • dig returns results with a 2+ seconds delay or timeout => defined dns servers are NOT working

Recommendations:

  1. Test configuring client to use a different DNS server
    dig @dnsServer1.kimconnect.com ldapServerName
  2. Verify that routing and firewall rules are passing traffic from client to DNS servers
  3. Cleanup invalid DNS records in AD
Case 2: Is localhost able to cache hardware address?
  • apr -a command returns results right away, and the ldap server IP mac address is present => ARP is working fine
  • apr -a command takes awhile to populate => indication that localhost arp table is having issues, so it’s not caching mac to ip for fast lookups

Recommendations:

a. Add a static arp entry into localhost

Command:

arp -s ip-address-of-ldap-server hardware-address-of-ldap-server
# Example:
sudo arp -s 10.10.10.10 aa:11:bb:22:cc:44

# How to reverse the change:
sudo arp --delete 10.10.10.10

# How to check the ARP Table:
sudo arp -avn # more verbose
sudo arp -n # simple view

b. Clear ARP cash & DNS cache

ip -s -s neigh flush all
arp -n
service nscd restart

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Juniper OSPF

How to setup OSPF in Juniper:editset interfaces ge-0/0/1.0 family inet address 13.13.13.1/24set interfaces lo.0.0 family…

Websense Notes

Reminder: when changing Websense Server Name, one must also update it's associated pointer in Web…

Linux: RSYNC Examples

Following are a few practical uses of this command: # Copying from a Local Directory…