I'm trying to do two things here. The first is poison the cache of a target DNS server. A scan has suggested the network I'm attacking is vulnerable to CVE-1999-0024. My understanding of this vulnerability is that it allows me to to 'tell' the DNS server on the target network that: myevilsite1.com = 1.2.3.4 and that as a result any clients internally requesting the site myevilsite1.com from the internal side of the DNS server will receive whatever IP I tell the DNS server to cache. I don't understand exactly how this attack works and i'd like to also test it (and validate it if below is a suitable test). Could someone please explain how i can conduct an attack like this?
The second is to confirm that it has worked by using DNS Server Cache Snooping: To do this i'm using the following command in nmap (I just want to double check this is a valid way to test):
nmap -sU -p 53 --script dns-cache-snoop.nse --script-args 'dns-cache-snoop.mode=timed,dns-cache-snoop.domains={myevilsite1.com,google.com,bing.com}' 1.2.3.4
Hope someone can help! Thanks!