Adding a host record from a command line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know of a way to add a host record to the forward lookup zone and
place a check in the box to create and associate pointer record from a
command line? I can use a command line to add each one separately but I want
the two to be associated with each other.
 
In
Ben Klockner said:
Does anyone know of a way to add a host record to the forward lookup
zone and place a check in the box to create and associate pointer
record from a command line? I can use a command line to add each one
separately but I want the two to be associated with each other.

Have you tried DNSCMD? Install the Windows Support Tools (from the cdrom) to
obtain it (and about 40 other tools).

DNSCMD Overview: (2000 or 2003)
http://www.microsoft.com/technet/pr...tandard/sag_DNS_imp_AutomatingServerAdmin.asp

DNScmd syntax:
http://www.tburke.net/info/suptools/topics/dnscmd_syntax.htm

DNS - Dnscmd.exe Command:
http://www.petri.co.il/dnscmd_command_in_windows_2000_2003.htm

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

If you are having difficulty in reading or finding responses to your post,
instead of the website you are using, if I may suggest to use OEx (Outlook
Express or any other newsreader of your choosing), and configure a newsgroup
account, pointing to news.microsoft.com. This is a direct link into the
Microsoft Public Newsgroups, and it is FREE and DOES NOT require a Usenet
account with your ISP. With OEx, you can easily find your post, track
threads, cross-post, and sort by date, poster's name, watched threads or
subject.

Not sure how? It's easy:
How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Windows Server Directory Services
Microsoft Certified Trainer
Assimilation Imminent. Resistance is Futile.
Infinite Diversities in Infinite Combinations.
=================================
 
Ace Fekay said:
Have you tried DNSCMD? Install the Windows Support Tools (from the cdrom) to
obtain it (and about 40 other tools).

DNSCMD Overview: (2000 or 2003)
http://www.microsoft.com/technet/pr...tandard/sag_DNS_imp_AutomatingServerAdmin.asp

DNScmd syntax:
http://www.tburke.net/info/suptools/topics/dnscmd_syntax.htm

DNS - Dnscmd.exe Command:
http://www.petri.co.il/dnscmd_command_in_windows_2000_2003.htm

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

If you are having difficulty in reading or finding responses to your post,
instead of the website you are using, if I may suggest to use OEx (Outlook
Express or any other newsreader of your choosing), and configure a newsgroup
account, pointing to news.microsoft.com. This is a direct link into the
Microsoft Public Newsgroups, and it is FREE and DOES NOT require a Usenet
account with your ISP. With OEx, you can easily find your post, track
threads, cross-post, and sort by date, poster's name, watched threads or
subject.

Not sure how? It's easy:
How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Windows Server Directory Services
Microsoft Certified Trainer
Assimilation Imminent. Resistance is Futile.
Infinite Diversities in Infinite Combinations.
=================================

I have gone through the DNSCMD command and cannot find something to put a
check in the PTR box. I was hoping someone knew what the syntax (or switch)
may be to have the pointer record automatically be created in the reverse
lookup zone when a record is added (via command line) in the forward lookup
zone.
 
In
Ben Klockner said:
I have gone through the DNSCMD command and cannot find something to
put a check in the PTR box. I was hoping someone knew what the
syntax (or switch) may be to have the pointer record automatically be
created in the reverse lookup zone when a record is added (via
command line) in the forward lookup zone.

I don't believe there is a direct way with the one command line when you are
adding the Forward Lookup Zone record. It will need to be two separate
commands, one for the host record in it's zone, and one for the reverse
record in it's zone.

http://www.tburke.net/info/suptools/topics/dnscmd_recordadd.htm

Ace
 
Back
Top