我使用的是environ("username"),然后移到:
Private Declare PtrSafe Function apiGetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Function fOSUserName() As String
' Returns the network login name
Dim lngLen As Long, lngX As Long
Dim
我正在尝试建立局域网的域名服务器。我的路由器有一个来自ISP的域名--类似于foobar21.verizon.com。
我想指定我的本地计算机名称,如gizmo,gadget,wizbob等。
在bind(9)配置文件中,我从预置文件中得到以下注释:
# This is the zone definition. replace example.com with your domain name
zone "local-network" IN {
type master;
file "/etc/bind/zones/local-networ