Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-10598: addns gets IP of the Cisco NAT instead of the IP of the host

Authentication Service ,  

1 October,18 at 03:39 PM


Updating DNS on Linux that is Cisco NAT'ed using addns gets the IP of the NAT and not the IP of the host.

The windows systems on the same network are registering correctly in DNS.  It's just the linux systems using Centrify that aren't working.

On a Linux box with Centrify agent installed, let's call it Client A with a made up IP of

There is the DNS server and let's call it Server A.

When Client A issues the addns command to update the DNS server, Server A, we would expect a host record of with a hostname of Client A be placed into DNS for both forward and reverse lookup zones.

When Client A sends the addns command to Server A, it passes through a Cisco router. This router does a one to many NAT for all the clients talking to it. So, when the IP of gets to the router, it gets NAT'ed to a new address, say

The DNS server receives the request from the addns command, but instead of placing the IP of Client A in the DNS table of, it places the IP of the NAT, as the IP of Client A.


The following config needed to be added to the private Cisco CSRs.

no ip nat service all-algs
no ip nat service dns-reset-ttl