[Script] Domain Name / DNS Name via nslookup on RB2011
Posted: Tue Nov 13, 2012 10:26 pm
Hello @ all.
Sorry for my bad English, but im from Germany.
Im new here and i need help with my new MikroTik RouterBoard RB2011US-2HnD-in.
If i type in windwos Command Console
then is the Answer:
pXXXXX.dip.t-dialin.net
I Search for a scipt that do follow:
I hope for answers.
Thank You.
Sorry for my bad English, but im from Germany.
Im new here and i need help with my new MikroTik RouterBoard RB2011US-2HnD-in.
If i type in windwos Command Console
Code: Select all
nslookup 88.140.....
pXXXXX.dip.t-dialin.net
I Search for a scipt that do follow:
Code: Select all
Step 1:
get my Current Ip (from File "dyndns.txt" or anything else; the file Contains "Current IP: 80.140..." from my DynDNS Script)
set my current IP Adress as: "$CurrentIP"
Step2:
nslookup $CurrentIP
set Answer as=$CurrentDomain
/log info "My current DNS is: $CurrentDomain" (pXXX.dip.t-dialin.net)
Step3:
get to my "T-Online" PPPoE Client and set a comment like= "My Domain is: $CurrentDomain"
Thank You.