LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 847|回复: 14

Help me. My dns has error. Pls help me.

[复制链接]
发表于 2003-8-2 21:39:00 | 显示全部楼层 |阅读模式
I start named but the /var/log/messages display below message:

dgebfl named[3190]:/etc/named.conf:3:change directory to '/var/named' failed: permission denied.

I set the /var/named the chmod is 777. but this messages show again. pls help me. and if you know the cause pls reply.


:mad:
发表于 2003-8-2 22:03:19 | 显示全部楼层
try these:
chown named /var/named/*
chmod 744 /var/named/*
发表于 2003-8-2 22:19:05 | 显示全部楼层
/var/named 的属性是777(虽然过大,太危险),不代表/var/named/*的文件的属性是可读的。 Stanlogin版主说的很对,把/var/named/下的文件也要用chmod 744改变属性为可读。
 楼主| 发表于 2003-8-3 17:17:00 | 显示全部楼层

About DNS Server, pls help me.thanks.

About DNS Server, pls help me.thanks.

Yesterday, I query DNS. Today I meet toubule.Pls see below message,and reply me, thanks.
In my coputer(192.168.1.13) I run nslookup test my dns server and response ok, but I in other computer set the dns server is my dns server and test my dns server the session show below messages to me. pls tell me cause thanks.
********************Messages***************

nslookup
can't find server name for address 192.168.1.13:no response from server
default server ard not available
default server:unknown
address:192.168.1.13
>set type=any
>dgebfl.com //**this is my domain name
server:unknow
address:192.168.1.13
unknow can't find dgebfl.com : no response from server

**************END********************************

向版主报告此贴 | IP地址: 已记录
New Post 08-03-2003 09:15
liangdx 现在在线
发表于 2003-8-3 17:23:49 | 显示全部楼层
I run nslookup test my dns server and response ok,

Are u sure? any evidence? show your logs.
发表于 2003-8-3 17:35:25 | 显示全部楼层
感觉你把域设置错了,或修改过!
 楼主| 发表于 2003-8-3 17:39:09 | 显示全部楼层

Show my logs to you, thanks.

Aug  3 16:45:55 dgebfl named[2734]: starting BIND 9.2.1 -u named
Aug  3 16:45:55 dgebfl named: named startup succeeded
Aug  3 16:45:55 dgebfl kernel: usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001
Aug  3 16:45:55 dgebfl named[2734]: using 1 CPU
Aug  3 16:45:55 dgebfl kernel: usb.c: new USB bus registered, assigned bus number 1
Aug  3 16:45:55 dgebfl kernel: hub.c: USB hub found
Aug  3 16:45:55 dgebfl kernel: hub.c: 2 ports detected
Aug  3 16:45:55 dgebfl kernel: SiS router pirq escape (99)
Aug  3 16:45:55 dgebfl kernel: SiS router pirq escape (99)
Aug  3 16:45:55 dgebfl kernel: usb-ohci.c: USB OHCI at membase 0xce84c000, IRQ 9
Aug  3 16:45:55 dgebfl kernel: usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2)
Aug  3 16:45:55 dgebfl kernel: usb.c: new USB bus registered, assigned bus number 2
Aug  3 16:45:55 dgebfl named[2734]: loading configuration from '/etc/named.conf'
Aug  3 16:45:55 dgebfl kernel: hub.c: USB hub found
Aug  3 16:45:55 dgebfl named[2734]: /etc/named.conf:3: option 'directory' contains relative path 'var/named'
Aug  3 16:45:51 dgebfl sysctl: kernel.core_uses_pid = 1
Aug  3 16:45:55 dgebfl kernel: hub.c: 2 ports detected
Aug  3 16:45:55 dgebfl sshd:  succeeded
Aug  3 16:45:51 dgebfl network: Setting network parameters:  succeeded
Aug  3 16:45:55 dgebfl apmd[2696]: Charge: * * * (-1% unknown)
Aug  3 16:45:55 dgebfl kernel: usb.c: registered new driver hiddev
Aug  3 16:45:55 dgebfl named[2734]: no IPv6 interfaces found
Aug  3 16:45:51 dgebfl logger: punching nameserver 192.168.1.13 through the firewall
Aug  3 16:45:56 dgebfl kernel: usb.c: registered new driver hid
Aug  3 16:45:56 dgebfl named[2734]: listening on IPv4 interface lo, 127.0.0.1#53
Aug  3 16:45:51 dgebfl logger: punching nameserver 202.96.128.68 through the firewall
Aug  3 16:45:56 dgebfl kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
Aug  3 16:45:56 dgebfl named[2734]: listening on IPv4 interface eth0, 192.168.1.13#53
Aug  3 16:45:51 dgebfl logger: punching nameserver 202.96.128.143 through the firewall
Aug  3 16:45:56 dgebfl kernel: hid-core.c: USB HID support drivers
Aug  3 16:45:51 dgebfl network: Bringing up loopback interface:  succeeded
Aug  3 16:45:56 dgebfl named[2734]: command channel listening on 127.0.0.1#953
Aug  3 16:45:56 dgebfl kernel: mice: PS/2 mouse device common for all mice
Aug  3 16:45:56 dgebfl kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
Aug  3 16:45:56 dgebfl named[2734]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2002120601
Aug  3 16:45:56 dgebfl kernel: Adding Swap: 522104k swap-space (priority -1)
Aug  3 16:45:56 dgebfl kernel: hub.c: new USB device 00:02.2-1, assigned address 2
Aug  3 16:45:56 dgebfl named[2734]: zone 1.168.192.in-addr.arpa/IN: loaded serial 2002120601
Aug  3 16:45:56 dgebfl kernel: input0: USB HID v1.00 Mouse [05e3:1205] on usb1:2.0
Aug  3 16:45:56 dgebfl kernel: kjournald starting.  Commit interval 5 seconds
Aug  3 16:45:56 dgebfl kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
Aug  3 16:45:56 dgebfl named[2734]: zone dgebfl.com/IN: loaded serial 2002120601
Aug  3 16:45:56 dgebfl kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug  3 16:45:56 dgebfl kernel: hdc: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Aug  3 16:45:56 dgebfl named[2734]: zone localhost/IN: loaded serial 2002120601
Aug  3 16:45:56 dgebfl kernel: Uniform CD-ROM driver Revision: 3.12
Aug  3 16:45:56 dgebfl named[2734]: running
发表于 2003-8-3 17:48:26 | 显示全部楼层
seems good.
当你在本机(192.168.1.13)上执行nslookup 的时候显示出什么信息?
可以使用 nslookup sohu.com 查询IP吗?
PS:You're from guangzhou?
 楼主| 发表于 2003-8-3 17:51:32 | 显示全部楼层

小白,Pls you say detail,because i can't undanstand you say

Below is my want to set domain pls check my setting:
I want to set my domain is dgebfl.com.
below setting is in my network configuration :
DNS
    hostname : dgebfl
    primany dns : 192.168.1.13
    sencond dns : 202.96.128.68
HOSTS
192.168.1.13   dgebfl.com   www.dgebfl.com
127.0.0.1      dgebfl       localhost localhost.admin

***********************************
I don't know network configuration setting and dns server setting have relation?
I will show my named configuration file on, pls help me check error.thanks.
 楼主| 发表于 2003-8-3 17:54:27 | 显示全部楼层

欧可侠

Below is your query. I am from Dongguan. Do you have a metter? Do you will contact me?

[root@dgebfl root]# nslookup sohu.com
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.13
Address:        192.168.1.13#53

Non-authoritative answer:
Name:   sohu.com
Address: 61.135.132.12

[root@dgebfl root]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表