creating virtual hostname

phn at phn at
Wed Feb 27 08:20:39 UTC 2002

Mipam <mipam at> wrote:

> Hi all,

> I tried looking up where to find info on creating an own domain
> or simply an own hostname.

> I'm using dhcp now and so the hostname which i receive is everytime
> variable. Now, since i know which nameservers are available,
> i installed bind and pointed in resolv.conf to :-)
> I made a secondairy dns server for the domain in which im in.
> However, this causes trouble in using postfix cause you have to specify
> a hostname. So i thought why not create a hostname with bind.
> For example i wish to name my machine
> So i guess i should add in named.conf

> zone "" {
>         type master;
>         file "";
> };

> But what do i now put in file?
> And what ip should i give it?
> Bye,

See : ""  
for a good working example.

> Mipam.

Peter Håkanson         
        IPSec  Sverige      (At the Riverside of Gothenburg, home of Volvo)
           Sorry about my e-mail address, but i'm trying to keep spam out.
	   Remove "icke-reklam" and it works.

More information about the bind-users mailing list