Server :: Creating Alias Or CNAME Record For Each Network Device
Oct 28, 2010
I'm running Ubuntu Server 10.04 to provide DHCP and Internet Sharing on my home LAN. In a previous configuration, I was running Fedora + AMAHI to provide the same services. As most of my linux devices are Ubuntu, I decided to decommission and rebuild my server. I've been able to configure all of my services with the exception of one. As a rule, I assign static IP or reservations based on MAC address's for any of my network devices or appliances.
One cool feature that AMAHI provided a GUI for, was the ability to recognize devices by name as well as IP. i.e.. "http://192.168.1.50" or "http://home-NAS" Going from memory, the long name upon first entry may actually have been "http://home-NAS.adomainname.com"? From my reading, I think I either need to setup up a Static Alias or CNAME for each assigned IP. I can't find any tutorial's that will walk me through this process. I'm guessing I need to generate the records under one of the master DNS zones, but that is just a guess?
View 1 Replies
ADVERTISEMENT
Jul 21, 2011
I need to point aaa.com to bbb.com in DNS. I know it is possible to add subdomains for aaa.com to point to bbb.com (or its sub-domains) but in this case I need to have aaa.com point to bbb.com. I used the following in zone file of aaa.com but it didn't work
----------------
@ IN CNAME bbb.com.
----------------
View 4 Replies
View Related
Oct 16, 2009
What you should use/? If I create mailserver to point mail.domain.fi should I create for DNS mx record what is actually zone or should just create alias. I prefer to use alias since this is for multiple names for the same domain. What is the right way to do it?
View 4 Replies
View Related
Jul 23, 2011
I have a question with named and cname records. I wrote a CNAME record into a zone yesterday:
valami.teszt.hu. IN CNAME teszt.hu.
teszt.hu has an A record:
teszt.hu. 14400 IN A val.id.I.P
I restarted named. My problem is: when I visit valami.teszt.hu I get the "Apache is functioning normally" message, and not teszt.hu. And if I write an A record for valami.teszt.hu instead of CNAME record (valami.teszt.hu. 14400 IN A val.id.I.P), the valami.teszt.hu will display
message mentioned above too.
View 3 Replies
View Related
Jan 15, 2010
I need to make a alias and I am a little confussed how to do it. As some websites say it has to be in profile and other says it goes in bashrc.on the server I have these files
bash_historybash_profilebashrccshrcdtprofileloginmysql_historynewsrcI been trying to do this and think may have problem now as when I log in I get error it says bash_profile syntax error unexpected token 'fi'
View 9 Replies
View Related
Oct 2, 2010
Need Bulk record creating for BIND DNS server. I have information in a file I need to crate a new zone and A-record. I have 10000 domains in a file. Is there any tool available to do this @ one go
View 4 Replies
View Related
Jan 16, 2010
I have been working on this for a while now and am absolutely stumped. Basically, what i am attempting to do is make my ubuntu box into a gateway for my network. I have everything working thru hard wire, but I simply cant get the wireless to work. No matter what I do, I cannot get my wireless card to transmit an essid and allow nodes to connect. I have tried assigning it in the interfaces file (shown below), and I have also tried manually modifying it using the iwconfig command. Here is the topology:
eth1: internet WAN
eth2: ethernet out to LAN
ra0: wireless out to LAN
Here is a copy of my /etc/network/interfaces file:
[CODE]
auto lo
[Code]...
View 2 Replies
View Related
Jul 9, 2010
I am running RHEL5.5 its a fresh install and we are testing Xen Virtualization. We are wanting to use our iSCSI SAN for the VMs. I have created the initiator iqn, and discovered the target address. We are connected to the target, but there is no new block device in /dev.
[root@xxxxxxxx etc]# netstat -a | grep iscsi
tcp 0 0 *:iscsi-target *:* LISTEN
tcp 0 0 xxxxx-netapp.okc-:44840 xxxxxx-iscs:iscsi-target ESTABLISHED
tcp 0 0 *:iscsi-target *:* LISTEN
[Code].....
View 2 Replies
View Related
Aug 26, 2010
This is my example domain name
loc1.test.com --> 10.8.5.5
loc2.test.com --> 10.8.5.6
con1.test.com --> 10.8.5.7
mail.test.com --> con1.test.com
mk.test.com --> loc1.test.com,loc2.test.com
per1.test.com --> mk.test.com
per2.test.com --> mk.test.com
per3.test.com --> mk.test.com
per4.test.com --> mk.test.com
We have configured DNS Zone like this .....
How to configure CNAME for
mk.test.com --> loc2.test.com
and
per1.test.com --> mk.test.com
per2.test.com --> mk.test.com
per3.test.com --> mk.test.com
per4.test.com --> mk.test.com
Need configuring CNAME for mk.test.com,per1.test.com,per2.test.com,per3.test.com and per4.test.com
View 4 Replies
View Related
May 5, 2011
There's this domain, that is apparently a cname of a cname which is, I know, not recommended, but it's not forbidden by the rfc. The domain is [URL]. If I try with windows or bind dns I get this results in nslookup:
** server can't find [URL]: NXDOMAIN
but if I try with opendns I have some results.
> [URL]
Server:208.67.222.222
Address:208.67.222.222#53
Non-authoritative answer:
www.groenegordel.becanonical name = www.vlaamsbrabant.be.
www.vlaamsbrabant.becanonical name = waf.vlaamsbrabant.be.
Name:waf.vlaamsbrabant.be
Address: 193.53.37.42
With this I see it's a [URL] it's a cname or a cname. Is there a way to force bind to resolve this domain? Is this a limitation of bind?
View 3 Replies
View Related
Dec 9, 2010
It's possible to configure a second level zone like this:
IN CNAME www.domain2.ext
For example, if I want:
host domain1.ext -> CNAME of www.domain2.ext?
and NOT only www.domain1.ext -> CNAME of www.domain2.ext?
View 6 Replies
View Related
Mar 15, 2011
I'm trying to create a cname in system-config-bind. I can create the record but when I go to save it I get a "Zone file save error".
Here's the full output:
Save of Zone file var/named/chroot/var/named/plantsareperfect.com.db failed
dns_master_load_/var/named/chroot/var/named/plantsareperfect.com.db:10lantsareperfect.com:cname and other data (sorry, the rest is off the page and I cant see it)
Why I can't save this cname?
View 6 Replies
View Related
Aug 9, 2011
I have a program which mounts /dev/sdb1 for which I lack the source code. This device does not exist on my RedHat 9 system and I want to create /dev/sdb1 such that it's an alias for /dev/hdb1 Can I do this? with MAKEDEV?
I need to have an alias which will allow it to mount, not create a symbolic link to an already mounted directory. i.e. 'mount /dev/sdb1 /mnt/harddrive' should actually mount /dev/hdb1
View 7 Replies
View Related
Apr 8, 2010
this is my first post here at LinuxQuestions and to start it off I have a question that may be simple. I will provide as much information that I can to help explain what it is I am trying to accomplish. Information: My server is running CentOS latest version I am booting to GRSEC
My problem is that my phone's IP address changes every 10-30 minutes, and my server is IP whitelisted. So in order for me to login to my server I need to somehow record my Phones IP address into the "/etc/hosts.allow file". Getting the IP of my phone is simple, for this I set up an account at dyndns.org. My phone successfully updates it's ip to the site whenever it changes. For this example I will use "linuxquestions.dyndns.org" In order to get my phones IP I will run a "nslookup" on linuxquestions.dyndns.org every 10 minutes. For this I will set a cron job to run every 10 minutes.
[Code]....
View 12 Replies
View Related
Jul 19, 2013
I reccently installed Debian Wheezy 7.0.0.1 and when I tried to try the microphone nothing came out only the audio coming what I'm listening to (like What you hear on Windows) and noticed that I don't have any Microphone in either Alsa or anywhere else, only Output devices.
Now Creative is gone from "Available capture devices" in Skype.
View 1 Replies
View Related
Jan 7, 2010
I just added a 2 port network card to a system that is running Fedora 11, but it is INACTIVE. I open the Network Device Control to activate it but there is no network ports in Network Device Control. It is empty.It looks like the system recognize the card and loaded correct driver.
View 4 Replies
View Related
May 4, 2011
I am new to k3b and trying to burn an iso and get the following message during the burn process .
"CDrecord has no permission to open the device".
View 7 Replies
View Related
Dec 17, 2010
I know this is a relatively simple problem but no matter what combination I try for my alias, I don't seem to be able to get it right! All I want to do is scp a file from my current folder to a location on the network:
Code:
scp filename username@computername:/folder1/folder2
This is the usual layout of the command that I use, so I thought that to save time, I would create an alias or even a function which did this for me, so all I had to type was
Code:
scp101 filename
and it would copy it to the set folder on the remote computer...
My attempt at an alias looks like:
Code:
alias scp101='scp !* username@computername:/folder1/folder2'
and I have also attempted a function:
Code:
scp101()
{
scp "$1" username@computername:/folder1/folder2
}
The alias tells me that filename is not a directory, which I assume means that I have some of the syntax wrong in the alias but I did a google search and I can't seem to find a decent example of what I'm trying to do. When I load up a terminal, I get an error message about the "(" of the scp101 function - so I've obviously can't get the syntax of that right either...
View 2 Replies
View Related
Jan 20, 2010
i have a big problem y have to make an alias for the eth0 interface, i made it with yast and my alias was eth0:1, first, if i try to shutdown the interface i cant it give an error and tell me that the interface dont exist and the second threat is if i can put a default gateway for this alias something like this in other distributions:
route add 128.26.6.11 gw 192.168.28.201 dev eth0:1
View 3 Replies
View Related
Mar 9, 2011
how to remove the network alias (ex: ifcfg-eth0:2)from RHEL5, i had deleted the ifcfg-eth0:2 file from /etc/sysconfig/network-scripts/ifcfg-eth0:3but i can still see the entry in the graphical network configuration after i issued the command system-config-network, i want to remove it from there.
View 3 Replies
View Related
Jun 28, 2010
I have detected some problems when I try to record sound in my Kubuntu 10.04 system.
The problem is that the "default" device for audio recording does not work but I have to select another device to do so. I always selected the "default" device for audio recoding but currently I have to select hw:0,2 device.
Another odd thing is that different programs show me different device. For example, Audacity shows me that I have the following audio recording devices:
- HDA Intel: ALC888 Digital (hw:0,1)
- HDA Intel: ALC888 Analog (hw:0,2)
- spdif
- default
The only one that works is hw:0,2.
But arecord shows me (when I execute "arecord -L") the following:
Finally, in KDE system preferences for audio I get that I have 2 different audio devices for audio recording:
- HDA Intel (ALC888 Analog): it is said that it will try first x-phonon (CARD=0, DEV=0) and, if the latter does not work, it will try plughw (CARD=0, DEV=0)
- HDA Intel (ALC888 Digital): it is said that it will try first x-phonon (CARD=0, DEV=1) and, if the latter does not work, it will try plughw (CARD=0, DEV=1)
Where is the hw:0,2? and how can I set the alsa system to use hw:0,2 as the default device for audio recording?
All of that would not be a problem but I also have an ubuntu 9.04 installed on a virtual machine (by using virtualbox) and audio recording doesn't work there. I suppose that it is becase of the virtual sound card is using default devices for playing and recording audio.
I must say that audio playback works fine in both host and guest systems. It is just audio recording.
View 6 Replies
View Related
Apr 12, 2010
I have a Linux server that runs the Sybase DB. Sybase suggests using character devices to access raw devices rather than O_DIRECT to block devices, or cooked FS's. So, I went ahead and configured /etc/sysconfig/rawdevices as such:
/dev/raw/raw1 /dev/vg01/tempdb
/dev/raw/raw2 /dev/vg01/testdb
/dev/raw/raw3 /dev/vg01/fakedb ...
This works fine. I set 'chkconfig rawdevices on' and all is well. I read that this method is deprecated and went about trying to accomplish the same via Udev rules. I already use udev rules in /etc/udev/rules.d/60-raw.rules to set permissions on these devices, i.e.
ACTION=="add", KERNEL=="raw*", OWNER=="sybase", GROUP=="sybase", MODE=="0660"
That works fine. I even set symbolic links:
KERNEL=="raw1", SYMLINK+="vg01/rtempdb"
KERNEL=="raw2", SYMLINK+="vg01/rtestdb1"
KERNEL=="raw3", SYMLINK+="vg01/rfakedb2"
But I cannot seem to get the actual device creation piece to work within udev (it only works using rawdevices). I've tried:
ACTION=="add", KERNEL=="vg01/tempdb", RUN+="/bin/raw /dev/raw/raw1 %N"
No errors, but nothing happens. The device just doesn't create. I've also tried doing it by passing major and minor numbers. Is it possible to get all of this into udev rules or am I stuck with rawdevices? I'm also utterly confused as to the future of rawdevices... the raw man page said it was deprecated, and now at v5.5 it has that piece taken out. Also RHEL 5.3 dropped support for rawdevices in initscripts only to add itback in 5.4. I'm an admin, not a DBA, so I cannot say if this is a bad or good way, only that it is the way the vendor supports and recommends, so it is the way that I must go... just trying to make it work as "un-deprecated" and cleanly as possible.
View 1 Replies
View Related
Nov 9, 2010
i have linux server application based on centos 5 that run httpd daemon from /usr/local/pf/conf/httpd.conf which is generated from the /usr/local/pf/conf/templates/httpd.conf.apache22 file
the problem is every time i run my linux server application i am not able to access phpmyadmin unless i stop my linux server application which is stop it httpd daemon then start "service httpd start"
i have been told by forum moderator to create an alias for my phpmyadmin in Virtual Host but it stil dont work, i am not able access my phpmyadmin site
this is what i have done to solve this problem
- open /usr/local/pf/conf/templates/httpd.conf.apache22 file then look for
<VirtualHost *:%%admin_port%%>
- add Alias /phpmyadmin "/usr/share/phpmyadmin" (Failed)
- add Alias /phpmyadmin /usr/share/phpmyadmin (Failed)
- add Alias /phpmyadmin "/usr/share/phpmyadmin/" (Failed)
[Code]....
why i still cant open my phpmyadmin site ? or why i cant run phpmyadmin together with my linux server application because it use the same daemon (httpd daemon)
View 8 Replies
View Related
Aug 17, 2010
I want an alias in my .ircrc to connect to a server, say like:Code:alias fnode server irc.freenode.netSo if I type '/fnode', it will automatically execute the command '/server irc.freenode.net'. But the IRC client says unknown command: fnode. What is the proper alias line for this?
View 2 Replies
View Related
Sep 16, 2009
I'm putting a server together and have run into a boot up problem. (I thought about putting this in the server forum, but it might be a more generic problem that others have seen and know how to rectify.) The install seems to have gone just fine. I have the /boot partition on an internal IDE drive. The rest of that drive and another are mirrored in a Raid0 configuration (using the Linux software to do that) for data storage. The swap partition is a part of the Raid5 SCSI array that also has the / (root) partition on it.
After installation it would not finish the booting process. I suspected that GRUB didn't like all the Raid arrays and such, but it seems to be fine. I can say that because the machine will boot into rescue mode with the GUI splash screen and I have access to the whole directory tree. I have already searched on-line and following prudent advice, ran the yum update while in the chroot /mnt/sysimage mode. That only took overnight to download and most of this morning to complete. Still no dice. Used vim to delete the rhgb quiet commands in the grub.conf file so I could see where the kernel seems to be hanging.
So right after the "Creating initial device nodes" is a line about my generic PS2 wheel mouse. So I tried a USB mouse. Got more output so tried swapping out to a USB keyboard. Got a little further with more information about input devices, but still stops. Also, I tried a PCI video card just to make sure the onboard video wasn't the problem - no change. So, if someone in the Fedora community knows what loads up or is configured right after the mouse and keyboard, I might be able to figure out what's causing the computer to hang during the boot process.
View 2 Replies
View Related
May 21, 2010
I need to prevent udev from creating the /dev/v4l/by-path/* and /dev/v4l/by-id/* files upon connecting my webcam. The problem is that Kopete doesn't want to display the video if these files are present. It works fine if I remove them, but I'd rather not have them created in the first place, since they seem to be completely useless anyway.
View 4 Replies
View Related
Mar 19, 2011
I just tried creating a raid Device which has both stripping and mirroring i have done as below Quote:
mdadm -C /dev/md00 -l1 -n2 /dev/sda7 /dev/sda8
mdadm -C /dev/md01 -l1 -n2 /dev/sda9 /dev/sda10
mdadm -C /dev/md02 -l0 -n2 /dev/md00 /dev/md01
pvcreate /dev/md02
vgcreate volgroup02 /dev/md02
lvcreate -n orac -L 9G volgroup02
[Code]...
Everything is fine until here but after reboot the device wont mount on /orac it says special device not available i found that that md02 device is not in active state
i tried deleting it and recreating it but no use still it wont persist a reboot
View 1 Replies
View Related
May 31, 2010
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
My OpenVPN config file (some details omitted)
--remote [gateway ip] # vpn12 load:
--remote [gateway ip] # vpn11 load:
--remote [gateway ip] # vpn15 load:
--remote [gateway ip] # vpn16 load:
[code]....
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
View 2 Replies
View Related
Mar 7, 2010
my mail server [URL] is hosted abc@[URL] is a pop id below are alias:
user1@[URL]
user2@[URL]
user3@[URL]
fetchmail is configured to download all mail for alias email id on local linux server and distribute to local users.
fetchmailrc config:
[Code]....
everything works fine except bcc copy is not getting delivered to email alias (at local linux server). It is delivered to local postmaster account :abc@[URL] (in Linux server) I have tried all envelope option in fetchmailrc file, but it did not work.
View 1 Replies
View Related
Nov 10, 2010
i have linux server application based on centos 5 that run httpd daemon from /usr/local/pf/conf/httpd.conf which is generated from the /usr/local/pf/conf/templates/httpd.conf.apache22 file
the problem is every time i run my linux server application i am not able to access phpmyadmin unless i stop my linux server application which is stop it httpd daemon then start "service httpd start"
i have been told by forum moderator to create an alias for my phpmyadmin in Virtual Host but it stil dont work, i am not able access my phpmyadmin site
this is what i have done to solve this problem
- open /usr/local/pf/conf/templates/httpd.conf.apache22 file then look for <VirtualHost *:%%admin_port%%>
- add Alias /phpmyadmin "/usr/share/phpmyadmin" (Failed)
- add Alias /phpmyadmin /usr/share/phpmyadmin (Failed)
- add Alias /phpmyadmin "/usr/share/phpmyadmin/" (Failed)
[Code]....
NB : my phpmyadmin is install on /usr/share/phpmyadmin with /etc/httpd/conf.d/phpmyadmin.conf as phpmyadmin configuration file
why i still cant open my phpmyadmin site ? or why i cant run phpmyadmin together with my linux server application because it use the same daemon (httpd daemon)
View 1 Replies
View Related