Home - News - Products - Downloads - Manuals - Forum - (trial) License - PriceList - Disclaimer - About
Print
Manuals - DnsBrowse/DnsEdit

Configuration


All configuration information of the program is stored in the dnsBrowse.ini file. The program dnsEdit, uses also this file. At the moment you can only change the information by changing the information in the ini-file. You can do this with some text-editor like notepad or from within the program.

Settings button.

Not implemented at the moment.

INI-File button.

All Hbware programs use the HBWare.dll, one of the functions of this dll is to supply a "default" search-top. IF you check "Set as default" all Hbware programs that you install after this program will use the given "top" as there search top.
Use master replica's. If the option is checked then the program will use the master replica's of the NDS partitions.

The program uses an ini-file for its configuration. You can edit this file with a test-editor like Notepad or from within the program with the toolbutton: "edit ini-file"

The sections in the ini-file are:

[SYSTEM]

Settings for the global working of the program

[PRTDNS]

How to print the DNS-info

[PRTREV]

How to print the REV-DNS-info

[PRTDHCP]

How to print the DHCP-info

[PRT]

General printer settings.

[TREES]

"top" for the different trees you have

[MASTER]

use "master" replica's for the selected tree

[LICENSE]

Used by DNSEdit for locating the licenses

[LOCATOR]

The full-dn of the locator object in a tree

[EXCLUDE]

Trees to be excluded at startup, even if you have a dnsBrowsetion to it.

[DHCP]

Start parameters for DHCPSRVR.nlm on server

[DNS]

Start parameters for Named.nlm on server

[LOOKUP}

Parameters for the DNS-lookup page.

[TREES]

<treename1>=[root]
<treename2>=[root]

Search "top". If your company is part of a lager tree, where you can only manage a smaller sub-tree, you can set the top of you sub-tree so the program doesn't have to search for the objects above this sub-tree. (faster lookup of the DNS/DHCP Location Object). This "top" is default set to [root]. For every tree you can set a different "top".
You have to type in the top context, typeless and without a leading dot. ( so not .ou=xxx.o=yyy, but simple xxx.yyy or [root] ). If the program can't find the selected tree in this section, it will automatically add it and set the top to [root].
MASTER]

<treename1>=1
<treename2>=1

When the tree parameter is set to 1, the program allway use the master replica's of the partitions. If master =0 then any replica is used. .....check program....
[LOCATOR]

<treename1>=DNS-DHCP.<context>

If there isn't a value for a the current tree, the program searches the tree for the Locator Object. If it finds one or you picked one, the program store the information in this section. The next time the program will use this value, if the value is incorrect then the program discards the value. If there is more than one locator object in the tree, the values are seperated with a , (comma) on one line.
[EXCLUDE]

<treename1>=0 or 1

At startup of the program it will search you dnsBrowsetions for the trees you are dnsBrowseted to, and will search for the locator objects in those trees. If you have one or more trees wihout any DNS/DHCP objects, you can exclude those trees for the search by putting the treename in this section and setting the parameter to 1. If you set the parameter to 0, it is enabled again.
[SYSTEM]

THREADS=0
nowarn=0
datesep=-
timesep=:
datetime=yyyy-mm-dd hh:nn:ss

The program can run in a multi-threaded mode or in a single threaded mode. Multi-thread means that the program uses more that one process at the same time. If the program is in multi-threaded mode it can search for DNS and DHCP records in parallel (click both refresh buttons). Because error handling is more complex in multi-threaded mode, and the program encounters a non-handled error the program probably "hangs", you have the option to set the program in single thread mode to see what happens. The program in sinlgle thread mode searches for DNS or DHCP records in sequence but there is a better error support. If you have any problem/error please contact me. (thread=0 single thread).
The program DNSDHCP of Novell does a search for DNS-DHCP locator objects. The first object found will be used as the locator object. This program searches for all DNS-DHCP locator objects, and gives a warning if there are more than one object. If you don't want this warning, set nowarn=1.

Default the program shows the date and time in the format year-month-day hour:minute:seconds. You can change this by chancing the parameter datetime. Warning the minutes must be given with a small n. The program will use the settngs for displaying and sorting of time-values. The program will use the date and time separator characters. The datetime string must be entered with the given date and time separator. If you change this value through the INI-file editor, then you have to restart the program for the change to be effected.

Default the program shows the datevalues in the format yyyy-mm-dd hh:nn:ss. If you want another timeformat, you can set the datetime= value. On a date sort, the program will sort the records in the correct order. You can also change the date seperator character and time seperator character. Please update the datetime-string accoordonly. The minutes in the datetime string must be presented with a n. If you put in only one h,n,s,m,d then the leading zero's are supressed. You can also enter mmm for the month, the program shows the month in a 3 letter abbriviation.


[PRTDNS]
k1=0
k2=500
k3=1100
t1=IP-address
t2=Name
t3=Description

The program was originally designed for a 300 dpi printer, so all parameters are related to that. The program will calculate the correct values for higher resolutions. If you printer has a lower resolution, the printing will probably go wrong.

There are three columns on the DNS-print, ip-address, hostname and description. The parameters k1,k2 and k3 defines the horizontal position on the page. It is allowed to swap the columns and even suppres a column by setting it's value to -1. The parameters t1,t2 and t3 are the header text of the columns.
How to swap columns: You want hostname, ip-address and then description. Set the parameters to: k1=600, k2=0 and k3=1100
[PRTREV]
k1=0
k2=500
k3=1500
t1=IP-address
t2=Name
t3=Domain
[PRTDHCP]
k1=0
k2=500
k3=1500
k4=2100
k5=2900
k6=3800
k7=4800
t1=IP-address
t2=Name
t3=Type
t4=Mac-address
t5=Last Used
t6=Lease Exp.
t7=Comment
[PRT]
top=100
ph=6500
ph2=4700
dy=75

The parameters of [PRT] defines the "page".

top = The top is white margin at the top of the page.
ph = The height of the page, the value here is for a A4. If you set the height smaller than there
is a larger bottom margin.
ph2= The height of a landscape paper. It should be something around 0.7*ph for A4-papersize.
dy = line spacing.

[DHCP]

D=
<servername>=

The program can stop and start the DHCP services on you server (you have to be a operator of the server!). The DHCPsrvr has a few start-parameters, you can set for every server its parameters. There is also a d= option, this is the default parameters value. If a severname is not in the ini-file the program uses the parameters of d=.
[DNS]

D=
<servername>=
As with DHCP-services the program can also start/stop then DNS (named.nlm) services on a server. You can enter the parameters for the server here. d= is the default parameter list.

[LOOKUP]

server=<ip-address>
1=query string
2=query string
...
10=query string

There are no configuration information here. The program saves the last values of the DNS-Lookup page here.

Support dll's.

The program needs the hbware.dll in the directory c:\program files\hbware\libs, this dll will be installed during the setup.

Comments

Only registered users can write comments.
Please login or register.

Powered by AkoComment 2.0!

 

 
< Prev
Page created in: 0.77 seconds - © Copyright 2002-2008 HBware.com