配置RedHat Linux 5 DNS解析
1、vi /etc/resolv.conf
增加以下内容:
nameserver DNSserver_ip_address1
nameserver
DNSserver_ip_address2
如下:
[root@REDHATAS5 /]# cat /etc/resolv.conf
nameserver 192.168.88.1
2、测试DNS是否生效
[root@Develop-Server ~]# nslookup www.baidu.com
Server: 192.168.88.1
Address: 192.168.88.1#53
Non-authoritative answer:
www.baidu.com canonical name = www.a.shifen.com.
Name: www.a.shifen.com
Address: 119.75.217.56
Name: www.a.shifen.com
Address: 119.75.218.45
相关文档:
Red Hat Linux 学习笔记
1. 在linux 上和其他计算机共享文件,需要在linux上搭建ftp server (vsftp)
2. 启动linux上的ftp server 使用命令:service vsftpd start
3. ......
Linux 同步方法剖析
内核原子,自旋锁和互斥锁
文档选项
将此页作为电子邮件发送
级别: 中级
M. Tim Jones, 顾问工程师, Emulex
2007 年 11 月 19 日
在学习 Linux® 的过程中,您也许接触过并发(concurrency)、临界段(critical section)和锁定,但是如何在内核中使用这些概念呢?本文讨 ......
#include <stdio.h>
#include <sys/select.h>
#include <termios.h>
#include <unistd.h>
#include <ctype.h>
#define STDIN 0
int main()
{
struct timeval tv = {0,0};
struct termios term , termbak;
& ......
================================================================================
=Linux查看硬件信息及驱动设备相关整理=
============ ......
本文讨论了 UNIX/LINUX 平台下三种主要的可执行文件格式:a.out(assembler and link
editor output 汇编器和链接编辑器的输出)、COFF(Common Object File Format
通用对象文件格式)、ELF(Executable and Linking Format
可执行和链接格式)。首先是对可执行文件格式的一个综述,并通过描述 ELF
文件加载过程以揭示 ......